Hopefully, actually got random wheel rotation to work!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\addons\news_manager.cpp" />
|
||||
<ClCompile Include="..\..\addons\request.cpp" />
|
||||
<ClCompile Include="..\..\graphics\hardware_skinning.cpp" />
|
||||
<ClCompile Include="..\..\graphics\lod_node.cpp" />
|
||||
<ClCompile Include="..\..\graphics\particle_kind_manager.cpp" />
|
||||
<ClCompile Include="..\..\graphics\per_camera_node.cpp" />
|
||||
@@ -325,6 +326,7 @@
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\addons\news_manager.hpp" />
|
||||
<ClInclude Include="..\..\addons\request.hpp" />
|
||||
<ClInclude Include="..\..\graphics\hardware_skinning.hpp" />
|
||||
<ClInclude Include="..\..\graphics\lod_node.hpp" />
|
||||
<ClInclude Include="..\..\graphics\particle_kind_manager.hpp" />
|
||||
<ClInclude Include="..\..\graphics\per_camera_node.hpp" />
|
||||
|
||||
@@ -783,6 +783,9 @@
|
||||
<ClCompile Include="..\..\utils\profiler.cpp">
|
||||
<Filter>Quelldateien\utils</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\graphics\hardware_skinning.cpp">
|
||||
<Filter>Quelldateien\graphics</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\main_loop.hpp">
|
||||
@@ -1484,5 +1487,8 @@
|
||||
<ClInclude Include="..\..\utils\profiler.hpp">
|
||||
<Filter>Headerdateien\utils</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\graphics\hardware_skinning.hpp">
|
||||
<Filter>Quelldateien\graphics</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -292,7 +292,7 @@ void Kart::createPhysics()
|
||||
wheel.m_wheelsDampingCompression = m_kart_properties->getWheelDampingCompression();
|
||||
wheel.m_frictionSlip = m_kart_properties->getFrictionSlip();
|
||||
wheel.m_rollInfluence = m_kart_properties->getRollInfluence();
|
||||
wheel.m_rotation = int(m_kart_properties->hasRandomWheels()) * (rand() % 360);
|
||||
wheel.m_rotation = btScalar(float(m_kart_properties->hasRandomWheels()) * (rand() % 360));
|
||||
}
|
||||
// Obviously these allocs have to be properly managed/freed
|
||||
btTransform t;
|
||||
|
||||
Reference in New Issue
Block a user