1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-03 04:53:35 +00:00
Commit graph

1166 commits

Author SHA1 Message Date
bjorn 4f4d95ddec Animator:isLooping; Animator:setLooping; 2017-11-04 15:31:47 -07:00
bjorn 93c6597f09 Animator:reset; 2017-11-04 15:21:46 -07:00
bjorn 3cc02497f6 Animator:getAnimationNames; Animator:getDuration; 2017-11-04 15:11:42 -07:00
bjorn c87ed6aec3 Load animation duration; 2017-11-03 18:38:43 -07:00
bjorn 34ddfbaed3 Animator:getSpeed; Animator:setSpeed; 2017-11-03 18:38:43 -07:00
bjorn 748c467b1c Animator:seek; Animator:tell; 2017-11-03 18:36:37 -07:00
bjorn 23b4750e9c Animator:play; Animator:stop; Animator:pause; Animator:resume; 2017-11-03 18:28:54 -07:00
bjorn 4249cb4cc6 Animator:update; 2017-11-03 18:27:02 -07:00
bjorn 33c5f6f8b5 CMake; 2017-11-02 23:55:28 -07:00
bjorn ff0d007afe Start Animator; 2017-11-02 23:47:25 -07:00
bjorn 1f4404a695 Update to support special characters in Windows; 2017-11-02 19:01:31 -07:00
bjorn 87ccedb166 Add AnimationData to CMakeLists; 2017-11-01 23:56:57 -07:00
bjorn 051663eff6 Fix null dereference with setting mesh vertex maps; 2017-11-01 23:29:20 -07:00
bjorn d57d943618 Fix bug when loading certain material textures from models; 2017-11-01 23:25:46 -07:00
bjorn 2c6cb28224 Use references when dealing with model materials; 2017-11-01 23:11:35 -07:00
bjorn 6a6c322eaa Load animations in model loader; 2017-11-01 23:10:21 -07:00
bjorn 28dec31e18 Add AnimationData; 2017-11-01 22:54:15 -07:00
Bjorn Swenson be087fd108
Merge pull request #26 from bcampbell/fake-headset
Fake headset - controller button event
2017-11-01 19:30:15 -07:00
bjorn 194382643b Add back Model:getAABB; 2017-11-01 19:27:58 -07:00
bjorn 60d25b2e11 Materials refcount their Textures properly; 2017-10-31 01:49:45 -07:00
bjorn cc019e5783 Improve Shader error messages; 2017-10-31 01:44:39 -07:00
bjorn 227dd67c00 Set default shader properly to avoid crash; 2017-10-31 01:33:16 -07:00
bjorn ecde864ec4 Use spooky BOOleans everywhere; 2017-10-31 01:14:09 -07:00
Ben Campbell 9d75de96a2 fake controller: apply offset 2017-10-29 10:42:20 +13:00
Ben Campbell 1127abeaf0 fake controller events (left mouse for trigger) 2017-10-29 09:33:54 +13:00
bjorn 1ebc527c74 Load vertex colors for models; 2017-10-23 19:24:29 -07:00
bjorn 8db7290ed3 Add vertex color attribute; 2017-10-23 19:24:29 -07:00
bjorn 5cc0fced70 Re-enable physfs zip support in emscripten; 2017-10-23 19:24:29 -07:00
Bjorn Swenson 618be7b51d Merge pull request #24 from bcampbell/fake-headset
Fake headset
2017-10-23 11:24:03 -07:00
Ben Campbell b2c0d2e4e5 Doh. Move headset.update() outside audio-only oath
Also ditched the IsPresent check - makes no difference at the moment, but
I think a headset driver should get an update even if there's no
actual headset currently there...
2017-10-23 20:50:04 +13:00
bjorn a2a90f5c85 Add support for HRTF under emscripten; 2017-10-22 21:55:23 -07:00
Ben Campbell a5fe871605 switch up/down keys to Q/E
There was concern that SPACE/LEFTSHIFT might invoke the windows
stickykeys behaviours when held down.
2017-10-23 12:48:18 +13:00
Ben Campbell aaf2840e64 rename HeadsetImpl -> HeadsetInterface 2017-10-23 12:44:26 +13:00
Ben Campbell 6a5d4f98ea Add _USE_MATH_DEFINES, required for sane visual c 2017-10-23 12:37:19 +13:00
Ben Campbell dcc3d970a6 trim out some dead/commented code 2017-10-23 12:32:08 +13:00
Ben Campbell e218345e1f remove redundant text editor modelines 2017-10-23 12:27:26 +13:00
bjorn 00726fe89e Fix pointsize limit for WebGL; 2017-10-22 16:26:48 -07:00
Ben Campbell f8e05c99e0 build: switch webvr and openvr by platform 2017-10-23 12:24:35 +13:00
bjorn cc651e7b4e Set point size in vertex shader for WebGL compatibility; 2017-10-22 16:14:53 -07:00
bjorn 2efe619317 Add Shader:hasUniform; 2017-10-22 15:58:56 -07:00
bjorn 076b378b80 Report correct line numbers for shader errors; 2017-10-22 15:39:21 -07:00
Ben Campbell 2de844ab66 back out hack to defer headset initialisation
fake headset code is now tolerant of being initialised before
the window is open.
2017-10-23 09:43:33 +13:00
Ben Campbell 54a0077356 oops - re-enable icon setting
(I was using GLFW 3.1 and had to disable the icon-setting code)
2017-10-23 09:38:24 +13:00
Ben Campbell a22a9ed1f4 Merge branch 'master' into fake-headset 2017-10-23 09:32:32 +13:00
bjorn cd9d2a442e Nevermind that didn't work; 2017-10-22 08:41:40 -07:00
bjorn 745922dbb5 Note version requirement for glfw; 2017-10-22 07:46:36 -07:00
bjorn 51ceb2a199 Rename shape data to stream data; 2017-10-22 07:37:31 -07:00
bjorn 65c26e47f2 Remove some weird Mesh return codes; 2017-10-22 07:20:40 -07:00
bjorn 2c0d85a84a Use UNSIGNED_SHORT for indices when possible; 2017-10-22 07:04:52 -07:00
bjorn e8e09c425e Reset material in lovr.graphics.reset; 2017-10-22 04:11:39 -07:00