Ejemplo n.º 1
0
 public Matrix4F Scale(float x, float y, float z) => StaticMultiply(this, Matrix4F.Create(
                                                                        x, 0, 0, 0,
                                                                        0, y, 0, 0,
                                                                        0, 0, z, 0,
                                                                        0, 0, 0, 1
                                                                        ));
Ejemplo n.º 2
0
 public Matrix4F Multiply(Matrix4F that)
 {
     return(StaticMultiply(this, that));
 }
Ejemplo n.º 3
0
 public Matrix4F Translate(float x, float y, float z) => StaticMultiply(this, Matrix4F.Create(
                                                                            1, 0, 0, x,
                                                                            0, 1, 0, y,
                                                                            0, 0, 1, z,
                                                                            0, 0, 0, 1
                                                                            ));