| 129 | } |
| 130 | |
| 131 | Primitives::ConeSegment primitiveCircle( const Vector3f& point, const Vector3f& normal, float rad ) |
| 132 | { |
| 133 | return { |
| 134 | .referencePoint = point, |
| 135 | .dir = normal.normalized(), |
| 136 | .positiveSideRadius = rad, |
| 137 | .negativeSideRadius = rad, |
| 138 | }; |
| 139 | } |
| 140 | |
| 141 | Primitives::ConeSegment primitiveCylinder( const Vector3f& a, const Vector3f& b, float rad ) |
| 142 | { |