transparent-cube

Minimal cross-platform native/wasm graphics example.
git clone git://git.amin.space/transparent-cube.git
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2019-10-19 07:10Switch to 0BSD licenseAmin Mesbah2+14-24
2019-07-03 21:11Don't call glGetUniformLocation every frameAmin Mesbah3+74-25
2019-07-03 06:19Fill whole browser window with webgl canvasAmin Mesbah1+2-1
2019-06-28 22:20Add references to readmeAmin Mesbah1+25-2
2019-06-28 21:56Add unlicenseAmin Mesbah1+24-0
2019-06-25 05:30Export functions via linker argumentsAmin Mesbah3+10-11
2019-06-25 00:53Add a readme with build instructionsAmin Mesbah1+32-0
2019-06-25 00:52Merge branch 'features/windows-initial-platform'Amin Mesbah4+222-1
2019-06-24 00:48Remove emscriptenAmin Mesbah4+13-134
2019-06-24 00:27Merge branch 'features/wasm-without-emscripten'Amin Mesbah22+1141-721
2019-06-23 21:27Clean wasm stuff upAmin Mesbah9+294-297
2019-06-23 21:05Pass updated screen dimensions to update functionAmin Mesbah1+1-1
2019-06-23 21:00Realize we just needed to pass down our boolAmin Mesbah2+4-6
2019-06-23 20:54Successfully render the cube in webglAmin Mesbah2+8-77
2019-06-23 20:49Fix contrarotationAmin Mesbah1+1-1
2019-06-23 20:40Note that cubes rotate in opposite directionsAmin Mesbah1+14-12
2019-06-23 20:02Add some uniformsAmin Mesbah3+32-38
2019-06-23 19:51Fix gl viewport updateAmin Mesbah2+1-1
2019-06-23 19:17Clean up resize codeAmin Mesbah1+7-4
2019-06-23 18:12Resize the webgl viewportAmin Mesbah4+11-0
2019-06-23 07:51Render a simple triangle to debug webgl problemsAmin Mesbah3+92-17
2019-06-23 06:25Merge branch 'features/replace-math-functions' into features/wasm-without-emscriptenAmin Mesbah4+123-52
2019-06-23 06:20Merge branch 'features/replace-math-functions'Amin Mesbah4+134-113
2019-06-23 06:19Implement sine and cosineAmin Mesbah4+103-10
2019-06-22 01:50Discover we don't need sqrtfAmin Mesbah3+2-94
2019-06-22 01:42Wrap math functionsAmin Mesbah3+37-17
2019-06-22 01:38Get rid of powfAmin Mesbah3+5-5
2019-06-21 06:19Don't truncate float color valuesAmin Mesbah2+2-2
2019-06-21 02:23Produce the first flicker of lifeAmin Mesbah4+46-13
2019-06-21 02:04Render a black background successfully!Amin Mesbah1+1-1
2019-06-21 01:38Fix wrapped webgl functionAmin Mesbah1+1-1
2019-06-21 01:32Clean up a bitAmin Mesbah3+2-12
2019-06-21 01:29Persist game state across render callsAmin Mesbah2+3-3
2019-06-20 03:04Get wasm build compiling and partially runningAmin Mesbah12+451-47
2019-06-17 00:36Narrow down missing deps to cosf and sinfAmin Mesbah8+162-68
2019-06-15 23:39Hoist file io to platform layerAmin Mesbah7+102-107
2019-06-15 23:21Fix builds broken when we switched to unity buildAmin Mesbah8+24-30
2019-06-15 22:08Add header translating gl calls to webgl callsAmin Mesbah9+352-47
2019-06-15 19:26Switch to unity buildAmin Mesbah6+17-42
2019-06-15 19:00Remove more unused codeAmin Mesbah1+0-31
2019-06-15 18:58Inline math functionsAmin Mesbah3+150-189
2019-06-15 18:56Remove unused pyramid rendering codeAmin Mesbah4+3-107
2019-06-15 18:52Remove unused math functionsAmin Mesbah2+2-259
2019-02-13 07:09Use GLFW_FALSE in glfw function callAmin Mesbah2+2-2
2019-04-28 05:02Move glfw Windows deps into libs/glfw_windows/Amin Mesbah2+39-13
2019-02-03 04:50Get it running on WindowsAmin Mesbah3+145-2
2019-02-03 01:11Ask for vsyncAmin Mesbah2+2-1
2018-08-05 22:14Enable MSAA on LinuxAmin Mesbah3+8-0
2018-08-05 21:44Render a nice looking translucent rgb cubeAmin Mesbah2+24-4
2018-08-05 21:41Make glfw window resizableAmin Mesbah1+1-1
2018-08-05 01:47Render an RGB cubeAmin Mesbah4+106-5
2018-08-04 19:12Use an Element Buffer ObjectAmin Mesbah2+21-23
2018-07-27 07:19Port to EmscriptenAmin Mesbah9+157-10
2018-07-25 07:09Rotate a pyramidAmin Mesbah5+66-78
2018-07-25 06:39Rotate a cube in perspective projectionAmin Mesbah6+110-73
2018-07-25 04:58Initial commitAmin Mesbah15+7890-0