MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / ParticleSystem

Method ParticleSystem

Sources/nCine/Graphics/ParticleSystem.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace nCine
11{
12 ParticleSystem::ParticleSystem(SceneNode* parent, std::uint32_t count, Texture* texture)
13 : ParticleSystem(parent, count, texture, Recti(0, 0, texture->GetWidth(), texture->GetHeight()))
14 {
15 }
16
17 ParticleSystem::ParticleSystem(SceneNode* parent, std::uint32_t count, Texture* texture, Recti texRect)
18 : SceneNode(parent, 0, 0), poolSize_(count), poolTop_(count - 1), particlePool_(poolSize_),

Callers

nothing calls this directly

Calls 9

GetWidthMethod · 0.45
GetHeightMethod · 0.45
reserveMethod · 0.45
setTexRectMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45
typeMethod · 0.45
cloneMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected