MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / operator[]

Method operator[]

SampleFramework12/v1.00/SF12_Math.cpp:214–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214float Float3::operator[](unsigned int idx) const
215{
216 assert(idx < 3);
217 return *(&x + idx);
218}
219
220Float3& Float3::operator+=(const Float3& other)
221{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected