Datatypes for physics

Posted by Juan Manuel Formoso on Stack Overflow See other posts from Stack Overflow or by Juan Manuel Formoso
Published on 2008-08-26T19:20:35Z Indexed on 2010/05/20 22:20 UTC
Read the original article Hit count: 234

Filed under:
|
|

Hi, I'm currently designing a program that will involve some physics (nothing too fancy, a few balls crashing to each other)

What's the most exact datatype I can use to represent position (without a feeling of discrete jumps) in c#?

Also, what's the smallest ammount of time I can get between t and t+1? One tick?

EDIT: Clarifying: What is the smallest unit of time in C#? [TimeSpan].Tick?

© Stack Overflow or respective owner

Related posts about c#

Related posts about physics