FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

vector multiplication

2 posters

Go down

vector multiplication Empty vector multiplication

Post  evrenbingol 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

Back to top Go down

vector multiplication Empty Re: vector multiplication

Post  sio2interactive 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.
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Back to top

- Similar topics

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