mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 210905. vehicle startup logic enhancements, whois event enhancement, line breaker activation type, material shadow rank, shadow rank cutoff value, shadow angle cutoff value, minor bug fixes
This commit is contained in:
4
Spring.h
4
Spring.h
@@ -29,11 +29,13 @@ public:
|
||||
// double nrestLen= -1.0f);
|
||||
void Init(double nKs = 0.5f, double nKd = 0.002f);
|
||||
Math3D::vector3 ComputateForces( Math3D::vector3 const &pPosition1, Math3D::vector3 const &pPosition2);
|
||||
private:
|
||||
//private:
|
||||
// members
|
||||
double restLen { 0.01 }; // LENGTH OF SPRING AT REST
|
||||
double Ks { 0.0 }; // SPRING CONSTANT
|
||||
double Kd { 0.0 }; // SPRING DAMPING
|
||||
float ks{ 0.f };
|
||||
float kd{ 0.f };
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user