_xiaofang/xiaofang/Assets/Obi/Resources/Compute/SolverParameters.cginc
杨号敬 bcc74f0465 add
2024-12-18 02:18:45 +08:00

22 lines
454 B
HLSL

#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