1 #ifndef MOBILERT_SHAPES_SPHERE_HPP 2 #define MOBILERT_SHAPES_SPHERE_HPP 23 explicit Sphere () =
delete;
25 explicit Sphere(const ::glm::vec3 ¢er,
float radius, ::std::int32_t materialIndex);
45 #endif //MOBILERT_SHAPES_SPHERE_HPP
void checkArguments() const
Definition: Sphere.cpp:25
Intersection intersect(Intersection intersection) const
Definition: Sphere.cpp:42
Definition: Intersection.hpp:14
::glm::vec3 center_
Definition: Sphere.hpp:15
AABB getAABB() const
Definition: Sphere.cpp:88
Definition: Sphere.hpp:13
float sqRadius_
Definition: Sphere.hpp:16
::std::int32_t materialIndex_
Definition: Sphere.hpp:17
Sphere & operator=(const Sphere &sphere)=default
const AABB box
Definition: TestPlane.cpp:26