Handmade Network»Feed
Mārtiņš Možeiko
You can actually include stdlib/stdio. But you cannot call functions from it - as linker won't use…
»
longtran2904
When you pass in -nodefaultlib to msvc, how can you not include stdlib, stdio, etc but can include…
»
Mārtiņš Možeiko
Yes, they are using custom __builtins. You can always just open header and look how they are defin…
»
longtran2904
I was asking specifically how the macros are defined. They seem to be defined with __builtin_va_xx…
»
Mārtiņš Možeiko
They are implemented in whatever way compiler wants. I mean the similar question would be about ho…
»
longtran2904
So how are va_xxxs implemented inside stdarg.h on clang? On msvc, they're just simple macros that …
»
Mārtiņš Možeiko
va_arg & friends do not depend on CRT in msvc/clang/gcc. They are compile time transformation in c…
»
longtran2904
Is there any way to use variadic functions without the crt in clang? It seems to be impossible on …
»
Dawoodoz
Object oriented programming was created in the 1960s to solve specific design problems where data-…
»
OdnetninI
Congrats for the release :) This stable release is a starting point into the future. Now that comp…
»
Simon Anciaux
What is the reason for the identifier naming scheme being enforced ? Not being able to write iden…
»
Christoffer Lernö
The change list for 0.5:Changes / improvementsTrackable allocator with leak allocation backtraces.…
»
Christoffer Lernö
C3 is a programming language that builds on the syntax and semantics of the C language, with the g…
»
da447m
I've found in Anton's early example some snippets and now just made a first quaternions rotation p…
»
ZILtoid1991
Those other debuggers are giving me headaches and doesn't like D structs. My current main gripe wi…
»
da447m
Other things like Rodrigues rotations also presuppose I already have the spherical coordinates, so…
»
da447m
I'm trying to make sense of this. The first problem is that, from the link that @simon gave, I don…
»
da447m
Hm that's interesting, I'll try to make it work. Thanks. Just a quickie, the initial transformatio…
»
Mārtiņš Možeiko
Input does not come in angles. What comes from mouse is relative change - rotate by 10 degrees (or…
»
da447m
But inputs comes in angles, for instance I get mouse position to rotate player camera up down, lef…
»
Mārtiņš Možeiko
If you will construct Quaternion from these three angles, you won't prevent gimbal lock. Every tim…
»
Mārtiņš Možeiko
You don't need to release any OS resources, like window hwnd's, or handles, or memory. OS cleans u…
»
Bits Please
I finally got it. Thanks a lot <3 By the way, how important is it to clean up resources associated…
»
da447m
These math primers literally will load you up with a bunch of information that is superfluous. Thi…
»
Simon Anciaux
In the past I was recommended the book "3d math primer for graphics and game development" but I do…
»
Simon Anciaux
I tried to "port" my game to version 2, but there are a few issues.What resolution should the face…
»
da447m
Ok so here's how I think this could go after reading a bit about the quaternions: 1 - define a uni…
»
da447m
Oh thanks Simon. So this is a known problem. What I still didn't find is a clear code for quaterni…
»
Simon Anciaux
I believe this is called "gimbal lock", and one solution is to use Quaternions. I never done it my…
»
da447m
So I've been playing around with OpenGL and then like in another thread I've opened, I made some s…
»