Ignore:
Timestamp:
Apr 29, 2012, 11:55:32 PM (9 years ago)
Author:
sam
Message:

core: tick methods now use seconds, like any sane system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debug/sphere.cpp

    r1208 r1310  
    122122}
    123123
    124 void DebugSphere::TickGame(float deltams)
    125 {
    126     Entity::TickGame(deltams);
    127 
    128     data->time += 0.003f * deltams;
     124void DebugSphere::TickGame(float seconds)
     125{
     126    Entity::TickGame(seconds);
     127
     128    data->time += 3.f * seconds;
    129129    while (data->time > 6.0 * M_PI)
    130130        data->time -= 6.0 * M_PI;
    131131}
    132132
    133 void DebugSphere::TickDraw(float deltams)
    134 {
    135     Entity::TickDraw(deltams);
     133void DebugSphere::TickDraw(float seconds)
     134{
     135    Entity::TickDraw(seconds);
    136136
    137137    if (IsDestroying())
Note: See TracChangeset for help on using the changeset viewer.