Exemplo n.º 1
0
 public void Apply(RenderGeometry geometry)
 {
     geometry.ApplyLinearTransform(matrix, enablePerspective: true);
 }
Exemplo n.º 2
0
 public void Apply(RenderGeometry geometry)
 {
     geometry.ApplyLinearTransform(Matrix4x4.Translate(pivot) * Matrix4x4.TRS(translation, Quaternion.Euler(eularRotation), scale) * Matrix4x4.Translate(-pivot));
 }