I wanna animate a cube.
I do it, by use of Translation Matrix.
Now, How can I set fps ( frame per second ) = 30 fps.
Thanks.
If my english sentences are terrible,I am sorry.
I guess you would use a timer (or even Environment.TickCount) to record the time one frame, and make your program wait until the current time is over that plus 1000 / 30 (= 33) before continuing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.