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.macdon...@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@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to