[osg-users] Can OSG be built to have Vec3 be a Vec3d

Robert Osfield robert.osfield at gmail.com
Fri Feb 23 23:46:31 PST 2018


Hi Jason,

No, you can't use CMake to typedef Vec3 to Vec3d, they are always Vec4f's.

The vast majority of OpenGL implementations use floats internally so
it makes sense to support Vec3fs as the default path.

Robert.

On 23 February 2018 at 21:41, Jason MacDonald
<jason.macdonald at ditchwitch.com> wrote:
> Hi,
>
> Is there a CMake option to allow Vec3 be a typedef to Vec3d instead of
> Vec3f?
>
>
>
> Jason
>
> This email and any files transmitted with it from Charles Machine Works are
> confidential and intended solely for the use of the individual or entity to
> which they are addressed.
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list