mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
commit
bd84600132
@ -92,7 +92,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef SGN
|
||||
#define SGN(m_v) (((m_v) < 0) ? (-1.0) : (+1.0))
|
||||
#define SGN(m_v) (((m_v) == 0) ? (0.0) : (((m_v) < 0) ? (-1.0) : (+1.0)))
|
||||
#endif
|
||||
|
||||
#ifndef MIN
|
||||
|
Loading…
Reference in New Issue
Block a user