コード例 #1
0
ファイル: WorldCamera.cpp プロジェクト: Argo15/Nexus-Rails
void WorldCamera::move(float speed)
{
	//WorldState *worldState = (WorldState *) Root::GAMESTATE;
	//worldState->getPhysicsManager()->getBulletManager()->updateDynamicsWorld(speed);

	mouseRotate();
}
コード例 #2
0
void AppClass::Update(void)
{
	//Update the system's time
	m_pSystem->UpdateTime();

	//Update the mesh manager's time without updating for collision detection
	m_pMeshMngr->Update();

	if (m_bFPC)
		mouseRotate();

	//Adds all loaded instance to the render list
	m_pMeshMngr->AddInstanceToRenderList("ALL");
}