History

EntityTree gtts PhysicsWorld*, with less error

Andrew Meadows committed 12 years ago

Commit 7f46ac01 parent ebe24b51 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -2012,7 +2012,7 @@ void Application::init() { · 2011 unmodified lines
2012 2012
2013#ifdef USE_BULLET_PHYSICS2013#ifdef USE_BULLET_PHYSICS
2014 _physicsWorld.initSafe(_entities.getTree());2014 _physicsWorld.initSafe(_entities.getTree());
2015 _entities.setPhysicsWorld(*_physicsWorld);2015 _entities.getTree()->setPhysicsWorld(&_physicsWorld);
2016#endif // USE_BULLET_PHYSICS2016#endif // USE_BULLET_PHYSICS
2017}2017}
2018 2018

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t