@@ -214,7 +214,7 @@ public void FixedMatrix4x4_TRS_CreatesCorrectTransformationMatrix()
214214 var rotation = FixedQuaternion . FromEulerAnglesInDegrees ( ( Fixed64 ) 30 , ( Fixed64 ) 45 , ( Fixed64 ) 60 ) ;
215215 var scale = new Vector3d ( 2 , 3 , 4 ) ;
216216
217- var trsMatrix = Fixed4x4 . SRT ( translation , rotation , scale ) ;
217+ var trsMatrix = Fixed4x4 . ScaleRotateTranslate ( translation , rotation , scale ) ;
218218
219219 // Instead of direct equality, compare the decomposed components
220220 Assert . True ( Fixed4x4 . Decompose ( trsMatrix , out var decomposedScale , out var decomposedRotation , out var decomposedTranslation ) ) ;
@@ -279,7 +279,7 @@ public void TransformPoint_WorldToLocal_ReturnsCorrectResult()
279279 var rotation = FixedQuaternion . FromEulerAnglesInDegrees ( - ( Fixed64 ) 20 , ( Fixed64 ) 35 , ( Fixed64 ) 50 ) ;
280280 var scale = new Vector3d ( 1 , 2 , 1.5 ) ;
281281
282- var transformMatrix = Fixed4x4 . SRT ( translation , rotation , scale ) ;
282+ var transformMatrix = Fixed4x4 . ScaleRotateTranslate ( translation , rotation , scale ) ;
283283
284284 var worldPoint = new Vector3d ( 10 , 15 , - 2 ) ;
285285 var localPoint = Fixed4x4 . InverseTransformPoint ( transformMatrix , worldPoint ) ;
@@ -296,7 +296,7 @@ public void InverseTransformPoint_LocalToWorld_ReturnsCorrectResult()
296296 var rotation = FixedQuaternion . FromEulerAnglesInDegrees ( ( Fixed64 ) 45 , - ( Fixed64 ) 30 , ( Fixed64 ) 90 ) ;
297297 var scale = new Vector3d ( 1.2 , 0.8 , 1.5 ) ;
298298
299- var transformMatrix = Fixed4x4 . SRT ( translation , rotation , scale ) ;
299+ var transformMatrix = Fixed4x4 . ScaleRotateTranslate ( translation , rotation , scale ) ;
300300
301301 var localPoint = new Vector3d ( 2 , 3 , - 1 ) ;
302302 var worldPoint = Fixed4x4 . TransformPoint ( transformMatrix , localPoint ) ;
@@ -313,7 +313,7 @@ public void TransformPoint_InverseTransformPoint_RoundTripConsistency()
313313 var rotation = FixedQuaternion . FromEulerAnglesInDegrees ( - ( Fixed64 ) 45 , ( Fixed64 ) 30 , ( Fixed64 ) 90 ) ;
314314 var scale = new Vector3d ( 1.5 , 2.5 , 3.0 ) ;
315315
316- var transformMatrix = Fixed4x4 . SRT ( translation , rotation , scale ) ;
316+ var transformMatrix = Fixed4x4 . ScaleRotateTranslate ( translation , rotation , scale ) ;
317317
318318 var originalPoint = new Vector3d ( 3 , 5 , 7 ) ;
319319 var transformedPoint = Fixed4x4 . TransformPoint ( transformMatrix , originalPoint ) ;
@@ -330,7 +330,7 @@ public void Fixed4x4_Serialization_RoundTripMaintainsData()
330330 var rotation = FixedQuaternion . FromEulerAnglesInDegrees ( Fixed64 . Zero , FixedMath . PiOver2 , Fixed64 . Zero ) ;
331331 var scale = new Vector3d ( 1 , 1 , 1 ) ;
332332
333- var original4x4 = Fixed4x4 . SRT ( translation , rotation , scale ) ;
333+ var original4x4 = Fixed4x4 . ScaleRotateTranslate ( translation , rotation , scale ) ;
334334
335335 // Serialize the Fixed4x4 object
336336#if NET48_OR_GREATER
0 commit comments