_xiaofang/xiaofang/Assets/Obi/Resources/Compute/SolverParameters.cginc

22 lines
454 B
HLSL
Raw Normal View History

2024-12-18 02:18:45 +08:00
#ifndef SOLVERPARAMS_INCLUDE
#define SOLVERPARAMS_INCLUDE
int mode;
int interpolation;
float3 gravity;
float damping;
float worldLinearInertiaScale;
float worldAngularInertiaScale;
float maxAnisotropy;
float sleepThreshold;
float maxVelocity;
float maxAngularVelocity;
float collisionMargin;
float maxDepenetration;
float colliderCCD;
float particleCCD;
float shockPropagation;
int surfaceCollisionIterations;
float surfaceCollisionTolerance;
#endif