Skip to content

Commit

Permalink
added GLM define to default to intiailizing objects with good values (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ofTheo committed Nov 21, 2019
1 parent 241131d commit a9e962c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/openFrameworks/utils/ofConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
#define OF_USE_LEGACY_VECTOR_MATH 0
#endif

// This enables glm's old behavior of initializing with non garbage values
#define GLM_FORCE_CTOR_INIT

// Set to 1 to use std filesystem instead of boost's
#ifndef OF_USING_STD_FS
#define OF_USING_STD_FS 0
Expand Down

0 comments on commit a9e962c

Please sign in to comment.