MCPcopy Create free account
hub / github.com/Notgnoshi/generative / Particle

Class Particle

generative/dla.rs:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13#[derive(Debug, Clone, Copy)]
14pub struct Particle {
15 /// TODO: Variable dimensionality
16 pub coordinates: [f64; 2],
17 /// The number of times this particle has been attempted to be joined to.
18 pub join_attempts: usize,
19}
20
21/// Data associated with the nodes.
22type NodeDataType = Particle;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected