Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
alexbrooklyn13358253dIs that why it's called Open Good Luck?
powerfulparadox1306253dYeah, local includes being relative to the file being processed while there was also a global include directory took some getting used to when I first learned C++.
Haxk2044896253dIf you added glm files to /use then you f up and didn't read docs. Yes math with matrixes is f up but easy at the same time.
OpenGL is not game engine tho. It's just stuff that allows you to render shit. Other stuff you have to handle that.
24th-Dragon2173253dI just started reading part 7. Its awesome
Haxk2044896253d@shoop You are not supposed to put it in /usr jeez. Messing up the system that way. You can create include folder in your game folder and then just include that folder in g++. Thats the proper way to do it.
The option is -I.
For example this is what i do. I have glad.c in src folder and .h file in include folder.
-I ./include/ ./src/glad.c
I said i woudlnt give you exactly the command but i never said i wont give you part of it when you are about to basically break your system by adding libraries that are not from any package. VERY WRONG.
Wisecrack3806253dTheres a world of things beyond 5th grade math and opengl.
Shaders for example. Shaders are a motherfucker.
Physics is another.
In fact theres so much to learn just these two examples aren't just different skillsets, they're *different careers.*
Sorry for the blackpill. If you enjoy learning, congratulations, you never have to stop.
Hazarth1405253dIt's the best thing ever.
Also also the global includes are amazing. That's why in windows you have to download your libs and fiddle with the include dirs n stuff manuallu but on linux apt can install the libs for you into your /usr include folder! It's much more comfortable to use
gururaju42*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
linuxxx64This guy at my last internship. A windows fanboy to the fucking max! He was saying how he'd never use anythi...
creedasaurus64Another dev on my team just got a new machine. Before he came in today I made two separate USB installers and ...