I cant cast from vector3df to vector3d<f64>,
I cant add vector3df with vector3d<f64>,
I cant setPosition() with vector3d<f64>
is there any way I can actually use it ?
howto use vector3d<f64> ?
You can use it in any context that is compatible with core::vector3df<f64>. Your application code can do this as much as you want, but once you get into the Irrlicht layer, you have to do some adapting. You can write functions to convert between the types pretty easily. Unfortunately, as soon as you convert to f32 you lose all of the precision, so you'll have to keep that in mind.
Why would you want to use f64 anyways?
Travis
Why would you want to use f64 anyways?
Travis
my solar system size... i get octagon orbits on neptune
i found this... looks like work
http://irrlicht.sourceforge.net/phpBB2/ ... system+f64
EDIT:
^sounds like this guy tried a 1:1 scale
i found this... looks like work
http://irrlicht.sourceforge.net/phpBB2/ ... system+f64
EDIT:
^sounds like this guy tried a 1:1 scale
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
There are currently no implicit conversions between different vector precisions. We could add them, but I'd have expected that if you're choosing to operate in vector3d<f64> then you'd want explicitly to control the points where you convert to f32 and lose the precision.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way