Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 630 vs 631 for /trunk/Source Code/Dynamics/Entities/Particles/ConcreteGenerators/Headers/ParticleVelocityFromPositionGenerator.h

Diff revisions: vs.
  @@ -35,7 +35,7 @@
35 35 #include "Dynamics/Entities/Particles/Headers/ParticleGenerator.h"
36 36
37 37 namespace Divide {
38 - class ParticleVelocityFromPositionGenerator : public ParticleGenerator {
38 + class ParticleVelocityFromPositionGenerator final : public ParticleGenerator {
39 39 public:
40 40 vec3<F32> _offset;
41 41 F32 _minScale;
  @@ -48,11 +48,11 @@
48 48 F32 maxScale)
49 49 : _offset(offset), _minScale(minScale), _maxScale(maxScale) {}
50 50
51 - virtual void generate(vectorImpl<std::future<void>>& packagedTasks,
52 - const U64 deltaTime,
53 - std::shared_ptr<ParticleData> p,
54 - U32 startIndex,
55 - U32 endIndex) override;
51 + void generate(vectorImpl<std::future<void>>& packagedTasks,
52 + const U64 deltaTime,
53 + ParticleData& p,
54 + U32 startIndex,
55 + U32 endIndex) override;
56 56 };
57 57 };
58 58