Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120619639
partsystem.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 5, 15:55
Size
472 B
Mime Type
text/x-c
Expires
Mon, Jul 7, 15:55 (2 d)
Engine
blob
Format
Raw Data
Handle
27215209
Attached To
rSYMKIT symkit
partsystem.cpp
View Options
#include "partsystem.h"
PartSystem::PartSystem( sid_t sid,
const std::vector<MatPoint*>& particles,
const std::string label,
const struct render_s *flags)
: Shape(sid, label, flags)
{
this->particles = particles;
}
PartSystem::~PartSystem()
{
}
void PartSystem::update(const float &dt)
{
for (auto mass : particles)
mass->update(dt);
}
Event Timeline
Log In to Comment