Can be broken for C Runtime, depending on versions of Windows, see fmod
broken here:
This is complicated as the UCRT is shipped by windows, but the c++ team first has to fix it then convince the windows team to ship a hotfix.
Can be broken for C Runtime, depending on versions of Windows, see fmod
broken here:
This is complicated as the UCRT is shipped by windows, but the c++ team first has to fix it then convince the windows team to ship a hotfix.
//****************************************************************************** | |
// | |
// Copyright (c) 2016 Microsoft Corporation. All rights reserved. | |
// | |
// This code is licensed under the MIT License (MIT). | |
// | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
applyMatrix
, on Geometry
or BufferGeometry
, does not flip faces indices when applying a matrix that flips normals (determinant < 0).
Once more, I'm struggling to wrap my head around the threejs API, here are my notes.
IMPORTANT base on threejs
r114
(march 2020)
API topics covered :
Based on my looking at ThreeJS r115dev
source code, while trying to figure out how to
customize the lighting by writing my own shader.
ThreeJS has the following Material
classes :
MeshBasicMaterial
, not affected by lightsMeshLambertMaterial
: lighting is computed at each vertex, for diffuse lighting, and interpolated in gouraud like fashionOnce more, I'm struggling to wrap my head around the threejs API, here are my notes. | |
> **IMPORTANT** base on threejs `r114` (march 2020) | |
API topics covered : | |
* Scene and Object3D, hierarchy, transforms | |
* Maths, linear algebra | |
* DirectionalLight, as I'm currently trying to understand how to attach one of them to a Camera... |
/* | |
* rtgu_ktx.h - Version -1 WIP untested | |
* No endianness swap support | |
int ktx_load(ktx_image* i, ktx__context* k); | |
*/ | |
// TODO(nico) public typedefs |
/* stbi-1.33 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c | |
when you control the images you're loading | |
no warranty implied; use at your own risk | |
NOTE this is a modified version : removed 'uint' typedef as it conflicted with <sys/types.h> on Android NDK r7b | |
and was not of much use anyway | |
https://gist.github.com/2774576 | |
QUICK NOTES: | |
Primarily of interest to game developers and other people who can |
#!/usr/bin/env python | |
# | |
# https://gist.github.com/2470162 | |
# | |
# Copyright (C) 2006 Martin Blais <blais at furius dot ca> | |
# 2008-02: Improvements by "Giovanni Bajo" <rasky at develer dot com> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |