ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RotateBy without AcGe

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
252 Views, 5 Replies

RotateBy without AcGe

I'm forced to do a datamodel, not using Arx.
And now i need to rotate a vector around another vector.

Anybody happens to have the sourcecode för AcGe ? (just kidding)

But an algorithm to rotate a 1x3 matrix using another 3x1 would be extremely
nice.

/Matt
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Of course both should be 1x3
/Matt


"Matt" wrote in message
news:5075835@discussion.autodesk.com...
I'm forced to do a datamodel, not using Arx.
And now i need to rotate a vector around another vector.

Anybody happens to have the sourcecode för AcGe ? (just kidding)

But an algorithm to rotate a 1x3 matrix using another 3x1 would be extremely
nice.

/Matt
Message 3 of 6
Anonymous
in reply to: Anonymous

Try to google it 🙂
You will find enought ready to use libraries.
For ex. in any 3d game you need such a lib so "game programming" should be
good.

Regards
Rex

"Matt" schrieb im Newsbeitrag
news:5075845@discussion.autodesk.com...
Of course both should be 1x3
/Matt


"Matt" wrote in message
news:5075835@discussion.autodesk.com...
I'm forced to do a datamodel, not using Arx.
And now i need to rotate a vector around another vector.

Anybody happens to have the sourcecode för AcGe ? (just kidding)

But an algorithm to rotate a 1x3 matrix using another 3x1 would be extremely
nice.

/Matt
Message 4 of 6
Anonymous
in reply to: Anonymous

I don't want to google it. Got dozens of hits, though
I want to copy-paste it. (ok, i'm lazy, trying to let others do my work).

Thanks.



"rex" wrote in message
news:5076423@discussion.autodesk.com...
Try to google it 🙂
You will find enought ready to use libraries.
For ex. in any 3d game you need such a lib so "game programming" should be
good.

Regards
Rex

"Matt" schrieb im Newsbeitrag
news:5075845@discussion.autodesk.com...
Of course both should be 1x3
/Matt


"Matt" wrote in message
news:5075835@discussion.autodesk.com...
I'm forced to do a datamodel, not using Arx.
And now i need to rotate a vector around another vector.

Anybody happens to have the sourcecode för AcGe ? (just kidding)

But an algorithm to rotate a 1x3 matrix using another 3x1 would be extremely
nice.

/Matt
Message 5 of 6
Anonymous
in reply to: Anonymous

yes you are 😉


"Matt" schrieb im Newsbeitrag
news:5076431@discussion.autodesk.com...
I don't want to google it. Got dozens of hits, though
I want to copy-paste it. (ok, i'm lazy, trying to let others do my work).

Thanks.



"rex" wrote in message
news:5076423@discussion.autodesk.com...
Try to google it 🙂
You will find enought ready to use libraries.
For ex. in any 3d game you need such a lib so "game programming" should be
good.

Regards
Rex

"Matt" schrieb im Newsbeitrag
news:5075845@discussion.autodesk.com...
Of course both should be 1x3
/Matt


"Matt" wrote in message
news:5075835@discussion.autodesk.com...
I'm forced to do a datamodel, not using Arx.
And now i need to rotate a vector around another vector.

Anybody happens to have the sourcecode för AcGe ? (just kidding)

But an algorithm to rotate a 1x3 matrix using another 3x1 would be extremely
nice.

/Matt
Message 6 of 6
Anonymous
in reply to: Anonymous

Aaahh.This is what i was looking for

http://astronomy.swin.edu.au/~pbourke/geometry/rotate/

"is presented as this C function. "


/Matt


"rex" wrote in message
news:5076508@discussion.autodesk.com...
yes you are 😉


"Matt" schrieb im Newsbeitrag
news:5076431@discussion.autodesk.com...
I don't want to google it. Got dozens of hits, though
I want to copy-paste it. (ok, i'm lazy, trying to let others do my work).

Thanks.



"rex" wrote in message
news:5076423@discussion.autodesk.com...
Try to google it 🙂
You will find enought ready to use libraries.
For ex. in any 3d game you need such a lib so "game programming" should be
good.

Regards
Rex

"Matt" schrieb im Newsbeitrag
news:5075845@discussion.autodesk.com...
Of course both should be 1x3
/Matt


"Matt" wrote in message
news:5075835@discussion.autodesk.com...
I'm forced to do a datamodel, not using Arx.
And now i need to rotate a vector around another vector.

Anybody happens to have the sourcecode för AcGe ? (just kidding)

But an algorithm to rotate a 1x3 matrix using another 3x1 would be extremely
nice.

/Matt

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost