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