TestCases, Midpoint push
This commit is contained in:
@@ -39,8 +39,11 @@ public:
|
||||
Vec3 getVelocityOfMassPoint(int index);
|
||||
void applyExternalForce(Vec3 force);
|
||||
|
||||
Vec3 calcualtePositionTimestepEuler(Vec3 oldPosition, float timestep, Vec3 veloctiy);
|
||||
Vec3 calcualteVelocityTimestepEuler(Vec3 oldVelocity, float timestep, Vec3 acceleration);
|
||||
void Midpoint(int index1, int index2, float timestep);
|
||||
int LengthCalculator(Vec3 position1, Vec3 position2);
|
||||
|
||||
Vec3 calculatePositionTimestepEuler(Vec3 oldPosition, float timestep, Vec3 veloctiy);
|
||||
Vec3 calculateVelocityTimestepEuler(Vec3 oldVelocity, float timestep, Vec3 acceleration);
|
||||
Vec3 calculateAcceleration(Vec3 acceleration, float mass);
|
||||
void Euler(int index1, int index2, int indexSpring, float timestep);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user