Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::ParticleFloorUpdater Class Referencefinal

#include <ParticleFloorUpdater.h>

+ Inheritance diagram for Divide::ParticleFloorUpdater:

Public Member Functions

 ParticleFloorUpdater (PlatformContext &context) noexcept
 
void update (U64 deltaTimeUS, ParticleData &p) override
 
- Public Member Functions inherited from Divide::ParticleUpdater
 ParticleUpdater (PlatformContext &context) noexcept
 
virtual void update (U64 deltaTimeUS, ParticleData &p)=0
 
- Public Member Functions inherited from Divide::PlatformContextComponent
 PlatformContextComponent (PlatformContext &context) noexcept
 
virtual ~PlatformContextComponent ()=default
 
PlatformContextcontext () noexcept
 
const PlatformContextcontext () const noexcept
 
- Public Member Functions inherited from Divide::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=default
 
NonCopyableoperator= (NonCopyable &&)=default
 

Public Attributes

F32 _floorY = 0.f
 
F32 _bounceFactor = 0.5f
 

Additional Inherited Members

- Protected Member Functions inherited from Divide::NonCopyable
 NonCopyable ()=default
 
 ~NonCopyable ()=default
 
- Protected Attributes inherited from Divide::PlatformContextComponent
PlatformContext_context
 

Detailed Description

Definition at line 40 of file ParticleFloorUpdater.h.

Constructor & Destructor Documentation

◆ ParticleFloorUpdater()

Divide::ParticleFloorUpdater::ParticleFloorUpdater ( PlatformContext context)
inlinenoexcept

Definition at line 46 of file ParticleFloorUpdater.h.

Member Function Documentation

◆ update()

void Divide::ParticleFloorUpdater::update ( U64  deltaTimeUS,
ParticleData p 
)
overridevirtual

Implements Divide::ParticleUpdater.

Definition at line 9 of file ParticleFloorUpdater.cpp.

Member Data Documentation

◆ _bounceFactor

F32 Divide::ParticleFloorUpdater::_bounceFactor = 0.5f

Definition at line 43 of file ParticleFloorUpdater.h.

◆ _floorY

F32 Divide::ParticleFloorUpdater::_floorY = 0.f

Definition at line 42 of file ParticleFloorUpdater.h.


The documentation for this class was generated from the following files: