MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_plane

Method get_plane

core/math/face3.cpp:141–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141Plane Face3::get_plane(ClockDirection p_dir) const {
142 return Plane(vertex[0], vertex[1], vertex[2], p_dir);
143}
144
145real_t Face3::get_area() const {
146 return vec3_cross(vertex[0] - vertex[1], vertex[0] - vertex[2]).length() * 0.5f;

Callers 6

createMethod · 0.45
intersect_segmentMethod · 0.45
intersect_rayMethod · 0.45
_generateMethod · 0.45
_populateMethod · 0.45
redrawMethod · 0.45

Calls 1

PlaneClass · 0.70

Tested by

no test coverage detected