public static void setWorld(this Transform transform, UMatrix matrix) { transform.localScale = matrix.getScale(); transform.rotation = matrix.getRotation(); transform.position = matrix.getPosition(); }
public UMatrix(UMatrix source) { this.m = source.m; }
public void set3x3(UMatrix pm) { m.m00 = pm.m00; m.m01 = pm.m01; m.m02 = pm.m02; m.m10 = pm.m10; m.m11 = pm.m11; m.m12 = pm.m12; m.m20 = pm.m20; m.m21 = pm.m21; m.m22 = pm.m22; }
public static void set(this Transform transform, UMatrix matrix) { setWorld(transform, matrix); }
public void preApplay(UMatrix left) { set(left.m * m); }
public void applay(UMatrix source) { m *= source.m; }
public void set(UMatrix source) { m = source.m; }