Changeset 643 for trunk/src/matrix.h
 Timestamp:
 Feb 14, 2011, 2:26:26 AM (11 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/matrix.h
r641 r643 105 105 template <typename T> struct Vec2 106 106 { 107 inline Vec2() { x = y = 0;}107 inline Vec2() { } 108 108 inline Vec2(T val) { x = y = val; } 109 109 inline Vec2(T _x, T _y) { x = _x; y = _y; } … … 120 120 template <typename T> struct Vec3 121 121 { 122 inline Vec3() { x = y = z = 0;}122 inline Vec3() { } 123 123 inline Vec3(T val) { x = y = z = val; } 124 124 inline Vec3(T _x, T _y, T _z) { x = _x; y = _y; z = _z; } … … 136 136 template <typename T> struct Vec4 137 137 { 138 inline Vec4() { x = y = z = w = 0;}138 inline Vec4() { } 139 139 inline Vec4(T val) { x = y = z = w = val; } 140 140 inline Vec4(T _x, T _y, T _z, T _w) { x = _x; y = _y; z = _z; w = _w; } … … 178 178 template <typename T> struct Vec4x4 179 179 { 180 inline Vec4x4() { v[0] = v[1] = v[2] = v[3] = 0;}180 inline Vec4x4() { } 181 181 inline Vec4x4(T val) { v[0] = v[1] = v[2] = v[3] = val; } 182 182 inline Vec4x4(Vec4<T> v0, Vec4<T> v1, Vec4<T> v2, Vec4<T> v3)
Note: See TracChangeset
for help on using the changeset viewer.