neobrain Math3D: Change the vector swizzlers to return const objects.
d09b9fa Aug 17, 2014
Math3D: Change the vector swizzlers to return const objects.
Otherwise, people might be tempted to do things like "some_vec4.xyz() = some_vec3", which compiles fine but does not do the expected thing because xyz() does not return references.
d09b9fa