14 using namespace Geometry;
16 template <>
const std::string typeName<Vec2f>() {
return "vec2f"; }
17 template <>
const std::string typeName<Vec2d>() {
return "vec2d"; }
18 template <>
const std::string typeName<Vec2i>() {
return "vec2i"; }
19 template <>
const std::string typeName<Vec2ui>() {
return "vec2ui"; }
21 template <>
const std::string typeName<Vec3f>() {
return "vec3f"; }
22 template <>
const std::string typeName<Vec3d>() {
return "vec3d"; }
23 template <>
const std::string typeName<Vec3i>() {
return "vec3i"; }
24 template <>
const std::string typeName<Vec3ui>() {
return "vec3ui"; }
26 template <>
const std::string typeName<Vec4f>() {
return "vec4f"; }
27 template <>
const std::string typeName<Vec4d>() {
return "vec4d"; }
28 template <>
const std::string typeName<Vec4i>() {
return "vec4i"; }
29 template <>
const std::string typeName<Vec4ui>() {
return "vec4ui"; }