Lefora Free Forum
login join
Loading
343 views

Using Quaternion

Page 1
1–3
rookie - member
7 posts

Hello there,
I am trying to write a program in Cocoa, which will use quaternion to rotation an object. Could anyone tell me where to find example code, so I can learn from examples? Thanks

?
288 posts

I've never heard of quaternion until now.  http://en.wikipedia.org/wiki/Quaternion

Cocoa provides access to the Quartz Graphics for 2D graphics and OpenGL for 3D.  I think it's unlikely that you're going to find cocoa code already written for quaternion - however you may something else (for example PostScript) which can be readily adapted for display by Cocoa.  

__________________
rookie - member
7 posts

Thanks for the reply, actually we are using Quickdraw 3D, which had build in quaternion. Just need an example

Page 1
1–3

Locked Topic


You must be a member to post in this forum

Join Now!