MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nodes::ParticleNetwork::ParticleNode Struct Reference

Single particle with physics state. More...

#include <ParticleNetwork.hpp>

+ Collaboration diagram for MayaFlux::Nodes::ParticleNetwork::ParticleNode:

Public Attributes

std::shared_ptr< GpuSync::PointNodepoint
 Actual GeometryWriterNode.
 
glm::vec3 velocity { 0.0F }
 Current velocity.
 
glm::vec3 acceleration { 0.0F }
 Current acceleration.
 
glm::vec3 force { 0.0F }
 Accumulated force this frame.
 
float mass = 1.0F
 Particle mass.
 
size_t index
 Index in network.
 

Detailed Description

Single particle with physics state.

Definition at line 69 of file ParticleNetwork.hpp.


The documentation for this struct was generated from the following file: