@@ -20,6 +20,14 @@ namespace Crown
this.w = w;
}
+ public Quaternion(double x, double y, double z, double w)
+ {
+ this.x = (float)x;
+ this.y = (float)y;
+ this.z = (float)z;
+ this.w = (float)w;
+ }
+
public Quaternion(ArrayList arr)
{
this.x = (float)(double)arr[0];
@@ -18,6 +18,12 @@ namespace Crown
this.y = y;
+ public Vector2(double x, double y)
public Vector2(ArrayList arr)
@@ -19,6 +19,13 @@ namespace Crown
this.z = z;
+ public Vector3(double x, double y, double z)
public Vector3(ArrayList arr)
+ public Vector4(double x, double y, double z, double w)
public Vector4(ArrayList arr)