Comments (4)
@dimitre is #define GLM_FORCE_CTOR_INIT
also present in the file where you use the glm::mat4?
because if it's for instance in an autonomous class (that does not import ofMain.h or something) there is no guarantee that the define is "picked-up" prior to your file.
it would be a good occasion to leave uninitialized and try adding a preprocessor define (#6530) and see if it fixes the problem. it creates an additional detail to compile OF, but since most/all people start with a template it's probably not a trouble — and it would be much cleaner than putting #define GLM_FORCE_CTOR_INIT
all over the source.
from openframeworks.
maybe, you need to add suffix of float?
i.e. glm::mat4 view{1.0f};
from openframeworks.
from openframeworks.
sorry, previous my pointing out is my misunderstand.
glm::mat4 view{1.0}
is no problem. 😉
from openframeworks.
Related Issues (20)
- ofxOscReceiver Error when creating and destroying repeatedly HOT 10
- [idea] ofPathToString -> ofToString HOT 8
- universal/resilient ofMin/Max HOT 1
- shadow the C++20 std::numbers in of::numbers
- [actions] ideas HOT 1
- ofSignedNoise(float x) always returns zero
- [idea] VerticalSync outside of GLFW
- ofAVFoundationVideoPlayer thread priority
- [MSVC] OpenFrameworks failed to build error MSB3073: xcopy /Y /E "C:\gitP\openframeworks\openFrameworks\examples\templates\emptyExample\dll\x64\*.dll" HOT 7
- [MSVC] OpenFrameworks failed to build with "ofxAssimpAnimation.obj : error LNK2001: unresolved external symbol "public: struct aiNode" HOT 2
- ofGLFWWindowSettings::monitor has no effect (with Windows) HOT 6
- ofxSvg current svgtiny.lib does not work - Visual Studio HOT 8
- assimp3DModelLoaderExample text mirrored in Visual Studio HOT 3
- problem with iOS examples assimpExample & iPhoneGuiExample based on MyGuiView.storyboard
- macOS XCode build failed with unkown argument "-index-store-path" and cannot specify -o when generating multiple output files HOT 1
- ofCairoRenderer - ofTranslate not reset in a new frame
- math PI define issue HOT 3
- emscripten complied libpugixml issue HOT 1
- ofGLFWWindow - settings.monitor not right no macOS, depending on main window size
- CI problem with VS jobs related to freetype / brotli HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openframeworks.