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.
On 23 February 2018 at 21:41, Jason MacDonald
> Is there a CMake option to allow Vec3 be a typedef to Vec3d instead of
> 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 mailing list