Exemplo n.º 1
0
 public TexturedPlaneBuilder(Vector3 position, Quaternion rotation, Vector2 scale, Vector4 color, string imagePath)
 {
     Position  = position;
     Rotation  = rotation;
     Scale     = scale;
     Color     = color;
     ImagePath = imagePath;
 }
Exemplo n.º 2
0
 public CollisionDataBuilder(Vector2[] points, Vector2 center, bool collide)
 {
     PointsInPolygon = new Vector2Builder[points.Length];
     for (int i = 0; i < points.Length; i++)
     {
         PointsInPolygon[i] = points[i];
     }
     CenterPoint = center;
     CollisionOn = collide;
 }