1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-23 02:42:39 +01:00

Fixed Collision model orientations

This commit is contained in:
Daniel Evans 2013-08-16 00:28:49 +00:00
parent 9edd196bae
commit dfb3ce0d74
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ bool GTAEngine::placeItems(const std::string& name)
msta->setWorldTransform(btTransform(
btQuaternion(
inst.rotX, inst.rotY, inst.rotZ, inst.rotW
),
).inverse(),
btVector3(
inst.posX, inst.posY, inst.posZ
)

View File

@ -320,7 +320,7 @@ void GTARenderer::renderWorld()
LoaderIPLInstance &obj = inst.instance;
if(((inst.object->flags & LoaderIDE::OBJS_t::NIGHTONLY) | (inst.object->flags & LoaderIDE::OBJS_t::DAYONLY)) != 0) {
continue;
//continue;
}
if(!inst.model)