Mouse-down: Free look the star Key X: Reset to fixed angles Key H: Show/Hide HUD - ARMS: Number of arms - SPIN: Automatic clockwise rotation around z-axis (yaw) - R: Radius to arm tip - r: Radius to arm base - d: Radius to base tip - BORDER: Black outline - FILLER: Filled/wireframed - BFC: Back-face Culling on/off - BGCLR: Background coloring on/off
From the rubble of the Rubik's Cube a star was born! ;-) Had to implement the cross product to get the unit vector and the triangle incenter to calculate the face angle to the eye/camera.