Maths Functions in C++

Soldato
Joined
18 Feb 2003
Posts
5,817
Location
Chester
right i need to write various classes to carry out mathematical functions for graphics operations like matrix multiplication.

Anyone know of any sites where i might find some assistance?
 
Associate
Joined
30 Jun 2003
Posts
2,237
Location
Sussex
|Show| said:
right i need to write various classes to carry out mathematical functions for graphics operations like matrix multiplication.

Anyone know of any sites where i might find some assistance?

opengl?
 
Soldato
OP
Joined
18 Feb 2003
Posts
5,817
Location
Chester
yeah, but this is for uni and I'm technically meant to show i can implement this stuff myself.
I'll take a look at the opengl library stuff though - thanks :D
 
Soldato
Joined
23 May 2005
Posts
2,964
Location
Auckland, New Zealand
I'm kinda doing the same thing at uni right now. If you have a good understanding of maths and dynamics it shouldnt be too hard to port into C++ to do what you want. as for manipulating matrices, just create a method that takes in 2 2D arrays and creates a new one by manipulating data from the two inputs... But in opengl you really don't need to do this. demonstrating it in action should show you know how it works anyway. you should look at writing physics simulations. i.e gravity with air resistance, projectiles, proper collision detection etc.
 
Back
Top Bottom