Remove performance measurements that have been supersceded by using Tracy

This commit is contained in:
Alexander Bock
2020-08-05 18:28:08 +02:00
parent 1acd9302b9
commit 6e9db78f40
27 changed files with 18 additions and 1545 deletions
@@ -237,8 +237,7 @@ void RenderableTrailOrbit::update(const UpdateData& data) {
const glm::vec3 p = _translation->position({
{},
data.time,
Time(0.0),
false
Time(0.0)
});
_vertexArray[_primaryRenderInformation.first] = { p.x, p.y, p.z };
@@ -434,8 +433,7 @@ RenderableTrailOrbit::UpdateReport RenderableTrailOrbit::updateTrails(
const glm::vec3 p = _translation->position({
{},
Time(_lastPointTime),
Time(0.0),
false
Time(0.0)
});
_vertexArray[_primaryRenderInformation.first] = { p.x, p.y, p.z };
@@ -474,8 +472,7 @@ RenderableTrailOrbit::UpdateReport RenderableTrailOrbit::updateTrails(
const glm::vec3 p = _translation->position({
{},
Time(_firstPointTime),
Time(0.0),
false
Time(0.0)
});
_vertexArray[_primaryRenderInformation.first] = { p.x, p.y, p.z };
@@ -517,7 +514,7 @@ void RenderableTrailOrbit::fullSweep(double time) {
const double secondsPerPoint = _period / (_resolution - 1);
// starting at 1 because the first position is a floating current one
for (int i = 1; i < _resolution; ++i) {
const glm::vec3 p = _translation->position({ {}, Time(time), Time(0.0), false });
const glm::vec3 p = _translation->position({ {}, Time(time), Time(0.0) });
_vertexArray[i] = { p.x, p.y, p.z };
time -= secondsPerPoint;