MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / area

Method area

Source/Falcor/Utils/Math/Rectangle.h:126–130  ·  view source on GitHub ↗

* Returns the surface area of the tile. * @return Surface area if tile is valid, undefined otherwise. */

Source from the content-addressed store, hash-verified

124 * @return Surface area if tile is valid, undefined otherwise.
125 */
126 float area() const
127 {
128 float2 e = extent();
129 return e.x * e.y;
130 }
131
132 /**
133 * Returns the radius of the minimal sphere that encloses the tile.

Callers 1

overlapsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected