MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Spring

Class Spring

GTE/Mathematics/MassSpringArbitrary.h:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 }
34
35 struct Spring
36 {
37 Spring()
38 :
39 particle0(0),
40 particle1(0),
41 constant((Real)0),
42 length((Real)0)
43 {
44 }
45
46 int32_t particle0, particle1;
47 Real constant, length;
48 };
49
50 // Member access.
51 inline int32_t GetNumSprings() const

Callers 1

MassSpringArbitraryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected