MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / MakeZero

Method MakeZero

GTE/Mathematics/Vector.h:152–155  ·  view source on GitHub ↗

All components are 0.

Source from the content-addressed store, hash-verified

150
151 // All components are 0.
152 void MakeZero()
153 {
154 std::fill(mTuple.begin(), mTuple.end(), (Real)0);
155 }
156
157 // All components are 1.
158 void MakeOnes()

Callers 2

ZeroMethod · 0.45
GetOrthogonalFunction · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected