mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-24 13:28:55 -05:00
Remove performance measurements that have been supersceded by using Tracy
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user