24 #include "math/sphere.h" 38 float _hardness = 0.45f)
45 GetLogger()->
Warn(
"Crash sphere using SOUND_CLICK, using SOUND_NONE instead.\n");
float hardness
"Hardness" of the sphere
Definition: crash_sphere.h:57
Sphere used to detect object collisions.
Definition: crash_sphere.h:33
Definition: sound_type.h:37
CLogger * GetLogger()
Global function to get Logger instance.
Definition: logger.h:135
Vector struct and related functions.
SoundType
Enum representing sound file.
Definition: sound_type.h:34
Class for logging information to file or console.
SoundType sound
Sound to be played on collision.
Definition: crash_sphere.h:55
3D (3x1) vector
Definition: vector.h:53
Defines the SoundType enum.
Math::Sphere sphere
Definition: crash_sphere.h:53
Definition: sound_type.h:36
void Warn(const char *str,...)
Definition: logger.cpp:105