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