DarkRadiant: master 61463345
|greebo||greebo||master||2021-09-04 07:53:26||master a1f5207c|
|Affected Issues||0005710: Q3 Legacy BrushDef parser sometime produce some wrong texture rotation|
|Changeset||0005710: Port the Quake 3 texture projection calculation code from GtkRadiant and compensate the ComputeAxisBase rotation that is happening during idTech4 tex coord emission. This way we get the same visual appearance for brushes defined in Q3 map format while keeping the mandatory axis base to match what the dmap compiler in D3/TDM is inevitably doing.
Fixup some unit test cases, since I got a few vertex coords wrong.
|mod - radiantcore/map/format/primitiveparsers/BrushDef.cpp||Diff File|
|mod - radiantcore/map/format/primitiveparsers/BrushDef.h||Diff File|
|mod - test/Brush.cpp||Diff File|