We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
guillaumec
What are your references when writing matrix and quaternion code as far as the math go? I often s…
»
ashelley
Thank you for the long thoughtful comment... I just realized that i might not get notifications w…
»
Mārtiņš Možeiko
Languages like rust typically during compilation have very slow constant part due to how they are…
»
pragmatic_hero
I thought the purpose of CRTP and other template *tricks* are to utterly and completely butcher c…
»
Clive Galway
Great article, thanks ever so much for this. I am working on an open source remapping application…
»
Jim R. Didriksen
Has this changed? Just started using 4Coder and I'm used to 3x Space Tabs. edit: Would also be n…
»
Mārtiņš Možeiko
That's because in "debug" mode typically build system doesn't turn on compiler optimizations to m…
»
nlives
yes, I got it to work, but have to run in release mode. for it to fast, in debug its very slow, I…
»
John Burton
Thanks both :) I think that the combination of a default parameter for when it doesn't matter, a…
»
Jeremiah Goerdt
ratchetfreak This may be stating the obvious somewhat but in "var.member.another_member" the "var…
»
Ginger Bill
I have an allocator system which I use everywhere in my C and C++ code. https://github.com/ginger…
»
Mikael Johansson
So the name only has to live within the function, but the function is called often enough for all…
»
John Burton
I am implementing allocators in my program. I use C++ (But not so much 'modern' c++). I have impl…
»
Mārtiņš Možeiko
Because in C the array variable is not a pointer. So taking address of will not give you pointer …
»
Italo
1 2 3 4 5void initGfx(SDL_Surface ***textures, SDL_Surface ***sprites, SDL_Surface *screen){ …
»
TM
I think the sync code won't work as expected. I remember doing something similar for resetting ke…
»
Andrew Reece
This post is meant to provide a general overview of the code structure to contextualize later inf…
»
ratchetfreak
This may be stating the obvious somewhat but in "var.member.another_member" the "var" should be a…
»
ratchetfreak
Except the entire point of crtp is to avoid having any virtual functions in the first place. I …
»
Mārtiņš Možeiko
1) Yes, you need to call stbte_mouse_button with 5th argument set to 0 ("false") when mouse butto…
»
Arne Döring
There is a way in C++ from a base class, which inherited class it is. Whenever a class in C++ has…
»
Jeremiah Goerdt
I've been scratching my head a bit lately, trying to figure out how to handle a string of variabl…
»
nlives
I am trying to use stb_tilemap_editor.h with sfml, And I have a few doubts 1. 1 2if (sf::Mouse::…
»
Oswald Hurlem
I'm planning to put up a few interesting tech posts soon (within a week), but before that, I wan…
»
Andrew Reece
mrmixer For the zoom, look at how it works in 3d packages (in Blender, holding control down + mid…
»
Matt Mascarenhas
So, I got advanced access to the video for annotation purposes, and while writing those annotatio…
»
»
Simon Anciaux
I don't know. What follows is a complete guess, don't assume it's correct: Setting the cursor ju…
»
Simon Anciaux
For the zoom, look at how it works in 3d packages (in Blender, holding control down + middle clic…
»
Jeroen van Rijn
Hi Simon, We do have a couple of little overhauls in mind when it comes to the site giving feedb…
»