public ObjectPrototype(Shape3D shape, MaterialPrototype material, Vector3D position, Vector3D scale, Matrix3D rotation) { Shape = shape; MaterialPrototype = material; Position = position; Scale = scale; Rotation = rotation; }
public ObjectPrototype(Shape3D shape, MaterialPrototype material, Vector3D position, Vector3D scale, double azimuthal = 0, double polar = 0) { Shape = shape; MaterialPrototype = material; Position = position; Scale = scale; AzimuthalAngle = azimuthal; PolarAngle = polar; }
public ObjectPrototype(Shape3D shape, MaterialPrototype material) : this(shape, material, new Vector3D(0, 0, 0), new Vector3D(1, 1, 1), 0, 0) { }
public ObjectPrototype(Shape3D shape, MaterialPrototype material, Vector position, Vector scale) : this(shape, material, position, scale, DongUtility.Rotation.Identity) { }
public ObjectPrototype(Shape3D shape, MaterialPrototype material, Vector position, Vector scale, Rotation rotation) : this(shape, material, ConvertVector(position), ConvertVector(scale), ConvertToMatrix3D(rotation.Matrix)) { }
public ObjectPrototype(Shape3D shape, MaterialPrototype material, Vector3D position, Vector3D scale) : this(shape, material, position, scale, Matrix3D.Identity) { }