Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 107
Registered: ‎02-15-2012
My Device: Blackberry Playbook 32GB
Accepted Solution

Math library for quaternions and matrixes.

Hi,

Was wondering which is the best math lbrary to use with the native sdk (opengles1.1).

I wouldnt know where to start for coding one myself and would probably take too long to write a whole math library.

It would need to be able to handle matrixes and quaternions so I can perform for example, rotations.

Its for game development which is why i'm using the native sdk.

 

Thanks,

Mike

Developer
Posts: 113
Registered: ‎03-23-2011
My Device: Playbook, Z10

Re: Math library for quaternions and matrixes.

I have not used this on the Playbook, but it's very portable so it should work, but the Eigen library is good (http://eigen.tuxfamily.org).  It will handle your needs for gamedev and more, and I think it's lots easier to use than other math libraries.

----------------
WIP game: Melodaeum
My graphically bland but very useful Morse Code trainer: Speed CW
My graphically attractive but boring game: The Rainstorm
Developer
Posts: 107
Registered: ‎02-15-2012
My Device: Blackberry Playbook 32GB

Re: Math library for quaternions and matrixes.

wonderful! Thanks!

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB

Re: Math library for quaternions and matrixes.

boost also. It's available for PB/BB10