Home
last modified time | relevance | path

Searched refs:Vec3 (Results 1 – 15 of 15) sorted by relevance

/TaskScheduler/ThirdParty/Squish/
H A Dmaths.h35 class Vec3
40 Vec3() in Vec3() function
118 Vec3 copy( left );
124 Vec3 copy( left );
130 Vec3 copy( left );
136 Vec3 copy( left );
148 Vec3 copy( left );
154 Vec3 copy( left );
165 return Vec3( in Min()
174 return Vec3( in Max()
[all …]
H A Drangefit.cpp41 m_metric = Vec3( 1.0f ); in RangeFit()
48 Vec3 const* values = m_colours->GetPoints(); in RangeFit()
58 Vec3 start( 0.0f ); in RangeFit()
59 Vec3 end( 0.0f ); in RangeFit()
84 Vec3 const one( 1.0f ); in RangeFit()
85 Vec3 const zero( 0.0f ); in RangeFit()
90 Vec3 const grid( 31.0f, 63.0f, 31.0f ); in RangeFit()
92 Vec3 const half( 0.5f ); in RangeFit()
101 Vec3 const* values = m_colours->GetPoints(); in Compress3()
104 Vec3 codes[3]; in Compress3()
[all …]
H A Dcolourblock.h34 void WriteColourBlock3( Vec3::Arg start, Vec3::Arg end, u8 const* indices, void* block );
35 void WriteColourBlock4( Vec3::Arg start, Vec3::Arg end, u8 const* indices, void* block );
H A Dmaths.cpp41 Vec3 centroid( 0.0f ); in ComputeWeightedCovariance()
53 Vec3 a = points[i] - centroid; in ComputeWeightedCovariance()
54 Vec3 b = weights[i]*a; in ComputeWeightedCovariance()
105 return Vec3( u[0], u[1], u[2] ); in GetMultiplicity1Evector()
109 return Vec3( u[1], u[3], u[4] ); in GetMultiplicity1Evector()
112 return Vec3( u[2], u[4], u[5] ); in GetMultiplicity1Evector()
145 return Vec3( -m[1], m[0], 0.0f ); in GetMultiplicity2Evector()
148 return Vec3( m[2], 0.0f, -m[0] ); in GetMultiplicity2Evector()
152 return Vec3( 0.0f, -m[4], m[3] ); in GetMultiplicity2Evector()
155 return Vec3( 0.0f, -m[5], m[4] ); in GetMultiplicity2Evector()
[all …]
H A Drangefit.h46 Vec3 m_metric;
47 Vec3 m_start;
48 Vec3 m_end;
H A Dcolourset.h42 Vec3 const* GetPoints() const { return m_points; } in GetPoints()
50 Vec3 m_points[16];
H A Dsinglecolourfit.h49 Vec3 m_start;
50 Vec3 m_end;
H A Dclusterfit.h43 bool ConstructOrdering( Vec3 const& axis, int iteration );
51 Vec3 m_principle;
H A Dcolourblock.cpp45 static int FloatTo565( Vec3::Arg colour ) in FloatTo565()
75 void WriteColourBlock3( Vec3::Arg start, Vec3::Arg end, u8 const* indices, void* block ) in WriteColourBlock3()
108 void WriteColourBlock4( Vec3::Arg start, Vec3::Arg end, u8 const* indices, void* block ) in WriteColourBlock4()
H A Dsinglecolourfit.cpp66 Vec3 const* values = m_colours->GetPoints(); in SingleColourFit()
157 m_start = Vec3( in ComputeEndPoints()
162 m_end = Vec3( in ComputeEndPoints()
H A Dclusterfit.cpp52 Vec3 const* values = m_colours->GetPoints(); in ClusterFit()
61 bool ClusterFit::ConstructOrdering( Vec3 const& axis, int iteration ) in ConstructOrdering()
65 Vec3 const* values = m_colours->GetPoints(); in ConstructOrdering()
104 Vec3 const* unweighted = m_colours->GetPoints(); in ConstructOrdering()
219 Vec3 axis = ( bestend - beststart ).GetVec3(); in Compress3()
362 Vec3 axis = ( bestend - beststart ).GetVec3(); in Compress4()
H A Dsimd_ve.h73 Vec3 GetVec3() const in GetVec3()
77 return Vec3( u.c[0], u.c[1], u.c[2] ); in GetVec3()
H A Dsimd_float.h58 Vec3 GetVec3() const in GetVec3()
60 return Vec3( m_x, m_y, m_z ); in GetVec3()
H A Dcolourset.cpp72 m_points[m_count] = Vec3( x, y, z ); in ColourSet()
H A Dsimd_sse.h65 Vec3 GetVec3() const in GetVec3()
73 return Vec3( c[0], c[1], c[2] ); in GetVec3()