It works!, it works!. Thanks to you!
I used the b32's last formula and I made a final touch as Sir Gak noted.
I have a function named TransformMeshes (in the main program loop) where I calculate for all my meshes the delta_rotation using a constant angle_velocity
But what is the delta_time?. Actually is the time between 2 successive calls of TransformMeshes and simply I can't change it. delta_time is not constant!.
So If I want to get the total rotation that corresponds to the end of 1000 msecs I have to change the angle_velocity only for the LAST delta_time just before the end of 1000 msecs
I used the b32's last formula and I made a final touch as Sir Gak noted.
I have a function named TransformMeshes (in the main program loop) where I calculate for all my meshes the delta_rotation using a constant angle_velocity
delta_rotation = angle_velocity * delta_time TurnEntity myentity, 0, delta_rotation, 0
But what is the delta_time?. Actually is the time between 2 successive calls of TransformMeshes and simply I can't change it. delta_time is not constant!.
So If I want to get the total rotation that corresponds to the end of 1000 msecs I have to change the angle_velocity only for the LAST delta_time just before the end of 1000 msecs