vector multiplication

View previous topic View next topic Go down

vector multiplication

Post  evrenbingol on Wed Jul 15, 2009 10:52 pm

I am sure this has been asked as it is the basics of vectors and matrices.
I am trying to multiply a vector (0,-1,0) which is my heading in local space initially when my character is loaded.
I like to multiply it by the 3x3 section of the object's affine 4x4 matrix.
Do i need to write these functions or are they provided.

vector3d * 3x3 matrix = new vector3d ish.

I looked at the vector and transformation files in the source but could not find the functions.
once again I am not using bullet.

any ideas.
I might be doing this all wrong to begin with.

evrenbingol

Posts : 7
Join date : 2009-07-12

View user profile

Back to top Go down

Re: vector multiplication

Post  sio2interactive on Wed Jul 15, 2009 11:44 pm

Humm SIO2 vector operations are in C not C++... You might wanna look at btVector3 instead from Bullet.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum