Lines Matching defs:TVec3
34 class TVec3 : public TVecProductOperators<TVec3, T>,
35 public TVecAddOperators<TVec3, T>,
36 public TVecUnaryOperators<TVec3, T>,
37 public TVecComparisonOperators<TVec3, T>,
38 public TVecFunctions<TVec3, T>,
39 public TVecDebug<TVec3, T> {
75 TVec3(const TVec3&) = default;
76 ~TVec3() = default;
77 TVec3& operator = (const TVec3&) = default;
82 constexpr TVec3(no_init) { }
85 constexpr TVec3() : x(0), y(0), z(0) { }
89 constexpr TVec3(A v) : x(v), y(v), z(v) { }
92 constexpr TVec3(A x, B y, C z) : x(x), y(y), z(z) { }
95 constexpr TVec3(const TVec2<A>& v, B z) : x(v.x), y(v.y), z(z) { }
99 constexpr TVec3(const TVec3<A>& v) : x(v.x), y(v.y), z(v.z) { }
104 constexpr TVec3 cross(const TVec3& u, const TVec3<RT>& v) {
105 return TVec3(
116 typedef details::TVec3<double> double3;
117 typedef details::TVec3<float> float3;
118 typedef details::TVec3<float> vec3;
119 typedef details::TVec3<half> half3;
120 typedef details::TVec3<int32_t> int3;
121 typedef details::TVec3<uint32_t> uint3;
122 typedef details::TVec3<int16_t> short3;
123 typedef details::TVec3<uint16_t> ushort3;
124 typedef details::TVec3<int8_t> byte3;
125 typedef details::TVec3<uint8_t> ubyte3;
126 typedef details::TVec3<bool> bool3;