mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 21:11:52 +00:00
Add ZScript constants used by FallAndSink
This commit is contained in:
parent
ce893d2cd4
commit
0b3e9b1025
1 changed files with 6 additions and 0 deletions
|
@ -1456,3 +1456,9 @@ const M_2_PI = 0.63661977236758134308; // 2/pi
|
|||
const M_2_SQRTPI = 1.12837916709551257390; // 2/sqrt(pi)
|
||||
const M_SQRT2 = 1.41421356237309504880; // sqrt(2)
|
||||
const M_SQRT1_2 = 0.70710678118654752440; // 1/sqrt(2)
|
||||
|
||||
// Used by Actor.FallAndSink
|
||||
const WATER_SINK_FACTOR = 0.125;
|
||||
const WATER_SINK_SMALL_FACTOR = 0.25;
|
||||
const WATER_SINK_SPEED = 0.5;
|
||||
const WATER_JUMP_SPEED = 3.5;
|
||||
|
|
Loading…
Reference in a new issue