Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94258823
partsystem.h
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
Thu, Dec 5, 05:22
Size
498 B
Mime Type
text/x-c++
Expires
Sat, Dec 7, 05:22 (2 d)
Engine
blob
Format
Raw Data
Handle
22771923
Attached To
rSYMKIT symkit
partsystem.h
View Options
#ifndef __PARTSYSTEM_H__
#define __PARTSYSTEM_H__
#include "matpoint.h"
#include <vector>
class
PartSystem
:
public
Shape
{
public:
PartSystem
(
sid_t
sid
,
const
std
::
vector
<
MatPoint
*>&
particles
=
{},
const
std
::
string
label
=
""
,
const
struct
render_s
*
flags
=
0
);
~
PartSystem
();
virtual
void
interaction
(
MatPoint
*
,
MatPoint
*
)
=
0
;
void
update
(
const
float
&
dt
);
private:
std
::
vector
<
MatPoint
*>
particles
;
};
#endif
Event Timeline
Log In to Comment