Math functions

BlitzMax Forums/BlitzMax Programming/Math functions

Dubious Drewski(Posted 2005) [#1]
So I'm trying to figure out some basic mathematical functions
to aid me in my quest to build an efficient 3d OpenGl environment
to create my game in. Right now, the most important thing
I need is to understand Dot Product and Cross product.
From there I can learn other things like Frustum Culling
(so I can do Oct/Quad tree heiarchy for a 3d terrain, etc),
billboarded sprites.... fun stuff like that.

My question is, does anyone know where I could get some
pre-built functions that deal with these? (In any language at all)
I'm good at general logic, but math is my weak spot and
these concepts are a huge stumbling block for me.


bradford6(Posted 2005) [#2]
get the OpenGL redbook. there is a free PDF online and you can get the new version best price from www.addall.com.


Haramanai(Posted 2005) [#3]
Have a look at the column 3D Geometry Primer
in the : http://www.flipcode.com/articles/


Dubious Drewski(Posted 2005) [#4]
Oh that's right. I forgot how good flipcode was. It has
answers to everything! I'll give it a read-through once I
have time.


Beaker(Posted 2005) [#5]
http://www.blitzbasic.com/codearcs/codearcs.php?code=1463