public void DrawShadowGeometry(Light l) { foreach(Vector2 p in Points) { var CurrentPoint = p; var nv = new Vector2(CurrentPoint.X - Light.Position.X, CurrentPoint.Y - Light.Position.Y); var lv = new Vector2(CurrentPoint.Y - Light.Position.Y, CurrentPoint.X - Light.Position.X); if ( (nv.X * -1 * lv.X) + (lv.Y * nv.Y) > 0 ) { } var LastPoint = p; } }
public void RenderShadowGeometry(Light l) { }