8 size_t vertices_count = vertices.size() / 3;
9 for (
size_t i = 1; i < vertices_count; i += 3) {
33 std::vector<glm::vec3> box;
49 for (
size_t i = 1; i < box.size(); i++) {
GLM_FUNC_DECL genType min(genType const &x, genType const &y)
static const float vertices[]
glm::vec3 ApplyTransform(const glm::mat4 &mat, const glm::vec3 &vec)
bool IsIntersecting(const Segment &segment, const glm::quat &rotation, const glm::mat4 &transformation)
GLM_FUNC_DECL detail::tquat< T, P > rotation(detail::tvec3< T, P > const &orig, detail::tvec3< T, P > const &dest)
GLM_FUNC_DECL genType max(genType const &x, genType const &y)
bool SegmentAABBIntersect(const glm::vec3 &aabb_min, const glm::vec3 &aabb_max, const glm::vec3 &start, const glm::vec3 &end)