Esempio n. 1
0
 // Creates a scaling matrix.
 public static SDKMatrix4x4 Scale(SDKVector3 value)
 {
     return(new SDKMatrix4x4
     {
         m00 = value.x,
         m01 = 0.0f,
         m02 = 0.0f,
         m03 = 0.0f,
         m10 = 0.0f,
         m11 = value.y,
         m12 = 0.0f,
         m13 = 0.0f,
         m20 = 0.0f,
         m21 = 0.0f,
         m22 = value.z,
         m23 = 0.0f,
         m30 = 0.0f,
         m31 = 0.0f,
         m32 = 0.0f,
         m33 = 1.0f
     });
 }
Esempio n. 2
0
 public static SDKMatrix4x4 TRS(SDKVector3 translation, SDKQuaternion rotation, SDKVector3 scale)
 {
     return(Translate(translation) * Rotate(rotation) * Scale(scale));
 }
Esempio n. 3
0
 public static SDKMatrix4x4 Rotate(SDKQuaternion value) => default;                                           // 0x000000018180B9A0-0x000000018180BB70
 public static SDKMatrix4x4 Scale(SDKVector3 value) => default;                                               // 0x000000018180BB70-0x000000018180BC10
Esempio n. 4
0
 public static SDKMatrix4x4 Scale(SDKVector3 value) => default;                                               // 0x000000018180BB70-0x000000018180BC10
 public static SDKMatrix4x4 TRS(SDKVector3 translation, SDKQuaternion rotation, SDKVector3 scale) => default; // 0x000000018180BC10-0x000000018180C770
Esempio n. 5
0
 public static SDKVector3 operator *(SDKMatrix4x4 lhs, SDKVector3 rhs) => default;                            // 0x000000018180CB40-0x000000018180CC40
 public static SDKMatrix4x4 Translate(SDKVector3 value) => default;                                           // 0x000000018180C770-0x000000018180C820