Skip to content

Commit a9e962c

Browse files
authored
added GLM define to default to intiailizing objects with good values (#6450)
1 parent 241131d commit a9e962c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libs/openFrameworks/utils/ofConstants.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
#define OF_USE_LEGACY_VECTOR_MATH 0
1313
#endif
1414

15+
// This enables glm's old behavior of initializing with non garbage values
16+
#define GLM_FORCE_CTOR_INIT
17+
1518
// Set to 1 to use std filesystem instead of boost's
1619
#ifndef OF_USING_STD_FS
1720
#define OF_USING_STD_FS 0

0 commit comments

Comments
 (0)