Sometimes it makes sense to place an integer into an array of floats but not want to represent it a float.
GLSL has a function for converting the bits that represent a float to an integer and vise versa:
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/floatBitsToInt.xhtml
Wednesday, April 11, 2018
Monday, April 9, 2018
Fixing MFC compile errors in Visual Studio 2013
If you get the error:
Error 1 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated. You must change the project property to Unicode or download an additional library. See http://go.microsoft.com/fwlink/p/?LinkId=286820 for more information. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets 376
It can be fixed by installing the Multibyte MFC Library for Visual Studio 2013 which can be found here.
Thursday, April 5, 2018
Recursive grep
search current directory for all files that contain alvin
Found this here:
Subscribe to:
Posts (Atom)