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?
 
|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?
 
opengl does the maths for you though? for example glMultiMatrixf() will do matrix multiplication.
 
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
 
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 mavity with air resistance, projectiles, proper collision detection etc.
 
Back
Top Bottom