diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-14 22:13:32 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-15 19:51:35 +0200 |
commit | a6f5f4634c63a515196a0f650682953356cb8e18 (patch) | |
tree | 806ca1627dbab6626634822037688aff376038c2 /src/collision/ColSphere.h | |
parent | be205d960207a9a9f22cce6e99dbf4c39fb8d510 (diff) |
Make collision code placement more like original (+ small fixes)
Diffstat (limited to 'src/collision/ColSphere.h')
-rw-r--r-- | src/collision/ColSphere.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/collision/ColSphere.h b/src/collision/ColSphere.h new file mode 100644 index 00000000..70e29763 --- /dev/null +++ b/src/collision/ColSphere.h @@ -0,0 +1,13 @@ +#pragma once + +#include "SurfaceTable.h" + +struct CColSphere +{ + // NB: this has to be compatible with a CVuVector + CVector center; + float radius; + uint8 surface; + uint8 piece; + void Set(float radius, const CVector ¢er, uint8 surf = SURFACE_DEFAULT, uint8 piece = 0); +};
\ No newline at end of file |