p0nce
p0nce
Explained in "Learning D"
``` What's the difference between a function's return type being `auto` vs `auto ref`? "auto ref" in the return specification generally means the same as in the parameter list The...
Could be in "Phobos gems" article, but probably better in its own article.
Possible with http://forum.dlang.org/post/[email protected]
This essentially forces you to use a constructor instead of just default initialization, useful for eg. a mutex struct.
Now I get: ``` spasm 0.2.0-beta.8: building configuration "library"... ..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(141,6): Deprecation: use of complex type `cfloat*` is deprecated, use `std.complex.Complex!(float)` instead ..\..\AppData\Local\dub\packages\spasm-0.2.0-beta.8\spasm\source\spasm\rt\memory.d(141,6): Deprecation: use of complex type `cfloat` is deprecated,...
On Linux, following the tutorial I get: ``` sdlang-d 0.10.4: building configuration "library"... ../../.dub/packages/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d(28,21): Error: undefined identifier FracSec, did you mean function fracSec? ../../.dub/packages/sdlang-d-0.10.4/sdlang-d/src/sdlang/token.d(29,18): Error: undefined identifier FracSec, did you...
Is there any feature/aliases/functions to add that would make it less work?
I'm all for `quatf`, but not for `vec3`. I know this is the GLSL name, but `float` is not special.
Renamed `quaternionf` to `quatf`/`quatd`, added a quaternion constructor with 4 Ts. https://github.com/d-gamedev-team/gfm/issues/86