port(EterLib): GrpMath/GrpColor/GrpColorInstance verbatim
port.grp_math pins the 40250 conventions: D3DXVec3Rotation applies the inverse rotation, GetRotationFromMatrix returns negated Z*X*Y angles, and CGraphicColor defaults to opaque white. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
042bddf195
commit
c7bcb9bbbe
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"reference": "EterLib/GrpMath.cpp",
|
||||
"reference_sha256": "bc15adf13da6227f7c768e1ddb82d2fcd25c16a863a433704bc66ea0fc654f07",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CrossProduct2D": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpMath.cpp:CrossProduct2D"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_math_test.cpp"
|
||||
],
|
||||
"note": "Verbatim 40250 (IsInTriangle2D: AttributeInstance collision; the rotation helpers have no 40250 caller)."
|
||||
},
|
||||
"IsInTriangle2D": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpMath.cpp:IsInTriangle2D"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_math_test.cpp"
|
||||
],
|
||||
"note": "Verbatim 40250 (IsInTriangle2D: AttributeInstance collision; the rotation helpers have no 40250 caller)."
|
||||
},
|
||||
"D3DXVec3Rotation": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpMath.cpp:D3DXVec3Rotation"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_math_test.cpp"
|
||||
],
|
||||
"note": "Verbatim 40250 (IsInTriangle2D: AttributeInstance collision; the rotation helpers have no 40250 caller)."
|
||||
},
|
||||
"GetRotationFromMatrix": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpMath.cpp:GetRotationFromMatrix"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_math_test.cpp"
|
||||
],
|
||||
"note": "Verbatim 40250 (IsInTriangle2D: AttributeInstance collision; the rotation helpers have no 40250 caller)."
|
||||
},
|
||||
"GetPivotAndRotationFromMatrix": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpMath.cpp:GetPivotAndRotationFromMatrix"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_math_test.cpp"
|
||||
],
|
||||
"note": "Verbatim 40250 (IsInTriangle2D: AttributeInstance collision; the rotation helpers have no 40250 caller)."
|
||||
},
|
||||
"ExtractMovement": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"src/platform/EterLib/GrpMath.cpp:ExtractMovement"
|
||||
],
|
||||
"test": [
|
||||
"tests/port/port_grp_math_test.cpp"
|
||||
],
|
||||
"note": "Verbatim 40250 (IsInTriangle2D: AttributeInstance collision; the rotation helpers have no 40250 caller)."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user