vance-group/vr-jugglua — Issue #7: Conversion between vector precision types
Author: rpavlik
Created: 2011-10-20 14:32:53+00:00
State: open

Vec3f should be able to be converted to Vec3d - there is an implicit constructor for Vec3d that takes a Vec3f.
(Furthermore, you might want to be able to create a Vec3f from a Vec3d though it loses precision. This is particularly of note because right now we're returning things from gadgeteer devices as Vec3d - which we might want to change.)

Checks: Must be able to create a vec from another vec (construction), pass one kind into a Luabind function requesting the other kind, and pass one kind into an osgLua method requesting the other kind (this seems to be the trickiest one)