public ColladaBoneMatrix(string name, LowLevel.Math.real_point3d translation, LowLevel.Math.real_quaternion rotation, float scale) { Name = name; translationVector = new SlimDX.Vector3(translation.X, translation.Y, translation.Z); rotationQuaternion = new SlimDX.Quaternion(rotation.Vector.I, rotation.Vector.J, rotation.Vector.K, rotation.W); scaleAmount = scale; }
public static void Add(this ColladaValueArray <float> array, LowLevel.Math.real_point3d v) { array.Add(v.X, v.Y, v.Z); }
public void SetTranslate(LowLevel.Math.real_point3d translation, float scale) { SetTranslate(translation.X, translation.Y, translation.Z, scale); }
public void SetTranslate(LowLevel.Math.real_point3d translation) { SetTranslate(translation.X, translation.Y, translation.Z); }
public ColladaTranslate(LowLevel.Math.real_point3d translation, float scale) : this(translation.X, translation.Y, translation.Z, scale) { }
public ColladaTranslate(LowLevel.Math.real_point3d translation) : this(translation.X, translation.Y, translation.Z) { }
public LowLevel.Math.real_point3d ToPoint3D(float scale) { var v = new LowLevel.Math.real_point3d(); v.X = X * scale; v.Y = Y * scale; v.Z = Z * scale; return v; }
public LowLevel.Math.real_point3d ToPoint3D() { var v = new LowLevel.Math.real_point3d(); v.X = X; v.Y = Y; v.Z = Z; return v; }