3#include "Foundation/Geometry/BoundingBox.hpp"
15 namespace ProfileGenerator
17 void generateConnector(std::vector<float> & depths,
18 std::vector<glm::vec2> & profile,
19 const float startDepth,
21 const float startRadius,
22 const float outerRadius,
23 const float endRadius,
24 const float depthAnchor);
26 void generateCurvedProfile(std::vector<float> & depths,
27 std::vector<glm::vec2> & profile,
28 const float startDepth,
30 const float startRadius,
31 const float endRadius,
32 const float numSections = 6);
34 void insertPoints(std::vector<float> & depths,
35 std::vector<glm::vec2> & profile,
37 const float startDepth,
39 std::vector<float>::const_iterator it,
40 std::vector<float>::const_iterator end);
42 void insertPointsReverse(std::vector<float> & depths,
43 std::vector<glm::vec2> & profile,
45 const float startDepth,
47 std::vector<float>::const_iterator it);
50 std::vector<glm::vec2> & profile,
51 const float startDepth,
@ Geometry
Store entity vector fields (vector<vec3>, vector<vec2>, vector<int>, vector<float>).
void reverseProfile(std::vector< float > &depths, std::vector< glm::vec2 > &profile, const float startDepth, const float endDepth)
Reverses the given profile.
Contains all Cogs related functionality.