Pages: 1
  Print  
Author Topic: Math Functions  (Read 633 times)
Offline (Male) Goombert
Posted on: September 18, 2013, 06:21:15 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Game Maker returns floating point precision for dot product functions, ENIGGER returns double precision. Don't know what Josh thinks about this since last time we talked about it he said all the internal C functions use double precision, so idk.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #1 Posted on: September 19, 2013, 02:04:05 AM

Developer
Joined: Apr 2008
Posts: 1872

View Profile
And? That just means we are more precise. Shouldn't change anything compatibility wise. There are some places where double is useless though (like OGL functions which use float). But as dot product function is a general purpose math function, then I think we should keep it double.
Logged
Offline (Male) Goombert
Reply #2 Posted on: September 19, 2013, 02:09:42 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
No just sayin I think that was a fallacy on their part, since it adds extra casting.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print