| 1461 | } |
| 1462 | |
| 1463 | struct TinyObjPoint { |
| 1464 | real_t x, y, z; |
| 1465 | TinyObjPoint() : x(0), y(0), z(0) {} |
| 1466 | TinyObjPoint(real_t x_, real_t y_, real_t z_) : x(x_), y(y_), z(z_) {} |
| 1467 | }; |
| 1468 | |
| 1469 | inline TinyObjPoint cross(const TinyObjPoint &v1, const TinyObjPoint &v2) { |
| 1470 | return TinyObjPoint(v1.y * v2.z - v1.z * v2.y, v1.z * v2.x - v1.x * v2.z, |
no outgoing calls
no test coverage detected