1 registered members (AndrewAMD),
1,248
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: replace var with float and support var as float typedef
[Re: HeelX]
#337839
08/13/10 21:10
08/13/10 21:10
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
Seconded! Most of my headaches in anything motion/physics related comes from the fact that VECTORs are composed of vars.
Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
Re: replace var with float and support var as float typedef
[Re: DJBMASTER]
#337848
08/13/10 21:55
08/13/10 21:55
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
fourthed(im sure thats not a word :d)
i always use floats my self but as others it would be great if predefined structs also use float.
Last edited by Quadraxas; 08/13/10 21:55.
3333333333
|
|
|
Re: replace var with float and support var as float typedef
[Re: Superku]
#337858
08/13/10 22:29
08/13/10 22:29
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
If you've ever worked with Quaternions, you lose a horrendous amount of precision by using vars. This is because of all the trigonometry that gets used. The vec_ functions would be so much more useful if VECTORs were composed of floats. It's not the end of the world to write my own versions that use floats, but it's annoying. Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
|