owashe / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

Wrong method name on `b2Timer.cpp` in rev151. #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. See the file `b2Timer.cpp`
2. Wrong method name `GetSeconds` at line 71.

Simpson
----
Source won't compile on non-Windows OS.

Solution
----
Just replace line 71,

    float32 b2Timer::GetSeconds() const

into

    float32 b2Timer::GetMilliseconds() const

PS.
I tried to update source myself, but source history says you don't allow direct 
source update by other people. Please reflect this ..

Original issue reported on code.google.com by drawtree@gmail.com on 13 Mar 2011 at 7:44

GoogleCodeExporter commented 8 years ago

Original comment by erinca...@gmail.com on 25 Mar 2011 at 7:02