Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
BoundingSphere.h
Go to the documentation of this file.
1#pragma once
2#include "glm/glm.hpp"
3#include <vector>
5
9namespace Math
10{
16 public:
22 static void calculate( Ecs::BoundingSphere& sphere, const std::vector<glm::vec3>& pointsToFit );
23 };
24}
A helper class which is used to generate a bounding sphere for a list of points. In most cases these ...
static void calculate(Ecs::BoundingSphere &sphere, const std::vector< glm::vec3 > &pointsToFit)
Calculates a bounding sphere for a list of points and fills the provided component.
Stores mathematical operations like calculating bounding spheres over a list of points.
A bounding sphere for an entity. Used for frustum culling.
Definition EcsData.h:193