Togethel2 / min3d

Automatically exported from code.google.com/p/min3d
0 stars 0 forks source link

Native Quaternions - feature request #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Love the framework - really makes working with 3D models on the Android 
platform so much easier - thank you!

For the project I'm working on, the use of Quaternions is essential. I've 
plugged in the follow Quaternion and Vector3 classes into min3d and have it 
functioning perfectly well, but I was wondering if you planned on adding native 
support of Quaternions to min3d in the future?

Quaternion.java: http://pastebin.com/KwNurybL
Vector3.java: http://pastebin.com/GveJDRPJ

Thanks again so much for this brilliant, light weight and powerful library!

Original issue reported on code.google.com by SeidrHrafn on 12 Jan 2011 at 1:37

GoogleCodeExporter commented 9 years ago
What do you mean by "native support"? Do you mean by that whether your classes 
get adopted by this project? Is your pastebin-post meant to be under 
MIT-license as this project?
If so I would like to grab it and use it in my fork at 
https://bitbucket.org/giszmo/min3d
Vector3 is a functional subset of Number3d. Guess I would strip that so 
Quaternion looks like this: http://pastebin.com/ZBga1Ttw

Also it would be nice if you could add an example of use for your quaternion 
class for the SampleProject.

Regards,

Leo

Original comment by LWanders...@gmail.com on 18 Jan 2011 at 6:36

GoogleCodeExporter commented 9 years ago
Hi Leo,

I'm afraid the 'I nabbed this implementation from The Internet.' is not from me 
- I in-fact nabbed the class from the page I found it on - a page that I can 
longer seem to find - as such I do not know under what license this code was 
originally under.

Sorry,
James H

Original comment by SeidrHrafn on 25 Jan 2011 at 2:39

GoogleCodeExporter commented 9 years ago
As far as my definition of native support - what I mean is the ability to make 
use of Quaternions without including an external class such as this.

As for a small example: http://pastebin.com/tntWGZGL

Sorry it's not exactly a neat or decent example, but I'm at work so had to 
throw it together quickly - no net access at home ATM.

Original comment by SeidrHrafn on 25 Jan 2011 at 2:49