Various code cleanup

This commit is contained in:
Alexander Bock
2019-06-18 10:47:15 +02:00
parent 8f6520ea8f
commit d0c04cfc6b
26 changed files with 154 additions and 123 deletions

View File

@@ -105,7 +105,7 @@ public:
* will just contain one item, but some modules may wish to provide
* multiple templates for subtypes, etc
*/
void writeDocumentationHtml(const std::string path, const std::string data);
void writeDocumentationHtml(const std::string& path, std::string data);
std::string generateJson() const override;

View File

@@ -117,7 +117,7 @@ private:
//grabs json from each module to pass to the documentation engine.
std::string _documentationJson;
ShutdownInformation _shutdown;
// The first frame might take some more time in the update loop, so we need to know to

View File

@@ -283,7 +283,7 @@ private:
bool _playbackActive_script = false;
bool _hasHitEndOfCameraKeyframes = false;
bool _setSimulationTimeWithNextCameraKeyframe = false;
bool _saveRenderingDuringPlayback = false;
double _saveRenderingDeltaTime = 1.0 / 30.0;
double _saveRenderingCurrentRecordedTime;

View File

@@ -91,7 +91,7 @@ public:
void update() override;
void performRaycasterTasks(const std::vector<RaycasterTask>& tasks);
void performDeferredTasks(const std::vector<DeferredcasterTask>& tasks,
void performDeferredTasks(const std::vector<DeferredcasterTask>& tasks,
float blackoutFactor);
void render(Scene* scene, Camera* camera, float blackoutFactor) override;