float3x3 float3x3::FromEulerYXY(float y2, float x, float y) { float3x3 r; Set3x3PartRotateEulerYXY(r, y2, x, y); assert(r.Equals(float3x3::RotateY(y2) * float3x3::RotateX(x) * float3x3::RotateY(y))); return r; }
float3x4 float3x4::FromEulerYXY(float y2, float x, float y) { float3x4 r; r.SetTranslatePart(0,0,0); Set3x3PartRotateEulerYXY(r, y2, x, y); assume(r.Equals(float3x4::RotateY(y2) * float3x4::RotateX(x) * float3x4::RotateY(y))); return r; }