2025-08-28 18:27 CEST

spring: develop b93b5539 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Tobi Vollebregt Tobi Vollebregt develop 2009-08-25 01:40:26 develop e4d9b150
Changeset fix LocalModelPiece::GetPiecePosIter,GetPos,GetEmitDirPos

CMatrix44f has positive rotation in the opposite direction
of a positive rotation in OpenGL.

GetPos/GetEmitDirPos flip direction of x-axis because in unit space
the positive x-axis points to the left, and hence the 'right' vector
points towards the negative x-axis.

(proper fix would be to flip direction of right vector of course)
mod - rts/Rendering/UnitModels/3DModel.cpp Diff ] File ]