mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 22:59:18 +02:00
stl-based names class replacement, re-enabled cab camera shake, enhanced parser comment support, minor bug fixes.
This commit is contained in:
2
Spring.h
2
Spring.h
@@ -31,7 +31,7 @@ class TSpring
|
||||
// void Init(TParticnp1, TParticle *np2, double nKs= 0.5f, double nKd= 0.002f,
|
||||
// double nrestLen= -1.0f);
|
||||
void Init(double nrestLen, double nKs = 0.5f, double nKd = 0.002f);
|
||||
bool ComputateForces(vector3 pPosition1, vector3 pPosition2);
|
||||
Math3D::vector3 ComputateForces(vector3 const &pPosition1, vector3 const &pPosition2);
|
||||
void Render();
|
||||
vector3 vForce1, vForce2;
|
||||
double restLen; // LENGTH OF SPRING AT REST
|
||||
|
||||
Reference in New Issue
Block a user