Commit Graph

1010 Commits

Author SHA1 Message Date
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 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 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 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
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 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
bjorn d5b3a2243e Rename internal canvas to view; 2017-10-22 03:34:45 -07:00
bjorn 5498a4e13e Fix fullscreen textures; 2017-10-22 03:23:58 -07:00
bjorn 9b3723145b Changes for physfs 3; rm lovr.filesystem.exists; 2017-10-22 01:37:06 -07:00
bjorn d3f6110d73 Fix windows build; 2017-10-21 21:52:05 -07:00
bjorn c8a226fc78 Fix lovrFilesystemRead error handling; 2017-10-21 20:23:29 -07:00
bjorn 231056e7e0 Fix issues with model IO; 2017-10-21 20:19:33 -07:00
bjorn bbae209623 Controller render models work with Material system; 2017-10-21 15:30:35 -07:00
bjorn 40c2121108 Fix nogame screen; 2017-10-21 15:24:00 -07:00
bjorn 9e9b0b7b94 Material support for Models; 2017-10-21 15:20:16 -07:00
bjorn dece1d896f Update skybox and font rendering; 2017-10-21 14:59:34 -07:00
bjorn 16915e4fa2 Material graphics state; 2017-10-21 14:32:41 -07:00
bjorn d658c80e57 Add Material API; 2017-10-21 14:05:58 -07:00
bjorn 3743b9d032 Add Material; 2017-10-21 14:00:33 -07:00
bjorn 1f6a80ee85 Add MaterialData; 2017-10-21 14:00:26 -07:00
bjorn 4935816457 Remove texturing from primitives; 2017-10-21 13:54:50 -07:00
bjorn 54533351bb Generalize Shader to support more types of uniforms; 2017-10-21 13:39:50 -07:00
bjorn b82ed7fd56 Put shaders in their own file; 2017-10-21 13:21:30 -07:00
bjorn b8fededcf6 Add luax_checkcolor; 2017-10-21 13:21:30 -07:00
bjorn 32b05cb15d Support multiple texture slots; 2017-10-21 13:21:28 -07:00
bjorn a2860361e9 Consolidate Texture and Skybox; 2017-10-21 13:00:13 -07:00
bjorn e8f2166e00 Remove textures from Models and Meshes; 2017-10-21 12:34:58 -07:00
bjorn a12a003ccb Use custom IO callbacks for assimp; 2017-10-21 12:31:53 -07:00
Ben Campbell 5c17196e49 Add runtime selection support for webvr version 2017-10-21 22:52:07 +13:00
Ben Campbell c694f56439 pick appropriate headset implementation at runtime
(just fake and openvr for now. Need to add webvr support still)
2017-10-21 22:39:33 +13:00
Ben Campbell 5df4197f39 Add indirection of fake headset functions
Setting up for runtime-pickable headset implementation
2017-10-21 09:32:46 +13:00
Ben Campbell a3d81b773c fake headset: fix reversed up/down movement
minecraft key conventions ;)
2017-10-19 22:07:28 +13:00
Ben Campbell 3575c09114 make fake headset tolerant of non-existent window 2017-10-19 22:04:46 +13:00
bjorn b124f7e7c2 Model:getMesh; 2017-10-15 10:26:33 -07:00
bjorn 0d3bc4cfaa Disable depth mask when drawing text; 2017-10-15 09:16:13 -07:00
bjorn f5e8535726 Use internal scene graph for models;
Allows for loading of more complicated models and multiple materials
for a single model.  Also fixes bugs with Mesh draw ranges.  Model:getAABB
is temporarily removed.
2017-10-14 18:01:00 -07:00
Ben Campbell 5667b5711b fake headset: add ultra cheesy fake controller
single controller, locked to headset position and orientation.
left mouse button is trigger.
2017-10-14 10:34:25 +13:00
Ben Campbell a40fed579b fake headset: add cursor key support 2017-10-14 10:04:41 +13:00
Ben Campbell 0ed41b690a fake headset: make mouse capture feel more natural
Disable mousecapture when window loses focus, or escape is pressed.
Reenable it when user clicks in window.
2017-10-14 09:56:23 +13:00
Ben Campbell 2b9cc1a60c add headset.update (to handle moving fake headset) 2017-10-14 09:46:33 +13:00
Ben Campbell 0e4e1159e5 rename 'near' and 'far' params (caused msys2 problems)
Looks like 'near' and 'far' are still pointer qualifiers under
some compilers/environments. The gcc from msys2 refused to build.
2017-10-13 08:54:01 +13:00
Ben Campbell 8f97384951 cheesy hack to module load order to get fake headset running 2017-10-12 23:04:18 +13:00
Ben Campbell 38803af405 beginnings of fake headset support 2017-10-12 13:14:51 +13:00
bjorn b3d921d0ed Fix build; 2017-09-22 22:26:31 -07:00
bjorn 27c914664c Clean up includes; 2017-09-19 23:49:10 -07:00
bjorn 6c3abad9f4 Fix crash in OpenVR mirror texture; 2017-09-18 00:39:47 -07:00
bjorn 6d85f512e3 Shoo tabs; 2017-09-17 17:38:22 -07:00
bjorn 80e3d3487a Transform:getMatrix; Transform:setMatrix; 2017-09-10 14:55:24 -07:00
bjorn 1d1277ba76 Fix World:raycast; 2017-09-03 17:01:48 -07:00
bjorn 5841ae1628 Controller:getHand for WebVR; 2017-09-03 01:26:18 -07:00
bjorn 4b3c7c60c2 Improve OpenVR tracking accuracy; 2017-09-02 23:08:46 -07:00
bjorn 447b2da41a lovr.math.orientationToDirection; 2017-09-02 17:26:24 -07:00
bjorn e2f4d23842 Small cleanup; 2017-08-27 22:59:51 -07:00
bjorn 44c02b008b v0.8.0; 2017-08-27 15:49:43 -07:00
bjorn 40b9cb1c63 Fix World:update fix; 2017-08-27 13:23:40 -07:00
bjorn 8001c0171c Fix default offset for WebVR; 2017-08-27 13:23:31 -07:00
bjorn 9202b42d8d Try to enable antialiasing in WebVR; 2017-08-27 13:23:21 -07:00
bjorn cbfeda1b1c Fix World:update; 2017-08-26 21:06:03 -07:00
bjorn 3fed41db7f Fix nonuniform scale issue; 2017-08-26 20:09:00 -07:00
bjorn d6aad1faba Fix RGB texture size; 2017-08-26 19:31:03 -07:00
bjorn 22a8152eb5 Fix normal matrix; 2017-08-26 18:36:30 -07:00
bjorn c6c29e3895 Fix strange font cast issue; 2017-08-26 17:15:53 -07:00
bjorn 773abf26ae Fix bug with mesh mapping; 2017-08-25 21:18:22 -07:00
bjorn 9fd4030f47 Tweak sphere coordinates; 2017-08-15 21:21:49 -07:00
bjorn e4a7c6bb47 Fix WebVR; 2017-08-15 01:05:18 -07:00
bjorn 3f875118a9 Fix shader issues; 2017-08-13 21:03:11 -07:00
bjorn 2d0e849686 Fix lovr.getOS for Linux; 2017-08-13 16:49:10 -07:00
bjorn 33c54efbed Use touchpad for touch joystick; 2017-08-13 04:35:49 -07:00
bjornbytes eea960df8c Support Touch controllers; 2017-08-12 22:58:59 -07:00
bjornbytes 5bf174b37d Use enum for lovrHeadsetGetType; 2017-08-12 21:35:37 -07:00
bjornbytes b843fc3dbe Return proper headset name for OpenVR backend; 2017-08-12 21:13:57 -07:00
bjornbytes 3c3076f8c4 Fix VR rendering; 2017-08-12 20:43:23 -07:00
bjorn 0311232ae1 Add lovrModel and lovrView matrices; 2017-08-10 22:23:19 -07:00
bjorn 74f585ca8d Use lovrAssert and lovrThrow for better errors; 2017-08-10 01:05:04 -07:00
bjorn 7f1d441cdf Better error handling system;
Mom's spaghetti.
2017-08-10 00:45:19 -07:00
bjorn 3cd245f2b0 Window customization via conf.lua; 2017-08-09 20:02:02 -07:00
bjorn c69d6a72d8 Mention ddsparse; 2017-08-09 01:57:18 -07:00
bjorn 1d82277173 Fix mesh index buffer binding; 2017-08-09 01:31:25 -07:00
bjorn 3143c87197 Fix issues with framebuffers; 2017-08-09 01:09:19 -07:00
bjorn b94bc558fc Fix fullscreen quads; 2017-08-09 00:59:04 -07:00
bjorn 6c316c7587 Fix Shader bugs; 2017-08-09 00:56:13 -07:00
bjorn 9dd9678077 Fix default font bug; 2017-08-08 23:49:17 -07:00
bjorn 9f6f993903 Fix Mesh; 2017-08-08 22:58:11 -07:00
bjorn c76df39407 Organize lovrGraphicsReset; 2017-08-08 22:39:00 -07:00
bjorn 60867925e4 Move unused header includes; 2017-08-08 22:34:23 -07:00
bjorn f91366aa96 Remove old color macros; 2017-08-08 22:31:27 -07:00
bjorn d849f2429c Everything is probably broken; 2017-08-08 21:10:56 -07:00
bjorn 76f94e8ade Rename primitive data structures; 2017-08-08 18:57:41 -07:00
bjorn 88a32fd951 Simplify Skybox stuff; 2017-08-08 18:52:28 -07:00
bjorn 45618f819e Fix Skyboxes; 2017-08-08 18:24:29 -07:00
bjorn 58931f01e2 Allow lovr.graphics.setFont(nil); 2017-08-08 18:01:39 -07:00
bjorn abbe5e36d0 Canvas state is internal; 2017-08-08 02:20:55 -07:00
bjorn c89301c284 Texture is internal state; 2017-08-08 02:14:50 -07:00
bjorn fe570e19f1 Diff vao, vbo, and ibo; 2017-08-08 02:13:07 -07:00
bjorn dfd0926fab Diff framebuffer; 2017-08-08 02:05:30 -07:00
bjorn ef58eea4b8 Projection is transform state; 2017-08-08 01:37:23 -07:00
bjorn 6077cae95a Font state; 2017-08-08 01:36:29 -07:00
bjorn 80c9d7f4d8 Shader state; 2017-08-08 01:33:52 -07:00
bjorn 047fe412eb rm lovr.texture.bind; 2017-08-08 01:33:52 -07:00
bjorn 03c01cb97a Use access bits better when mapping Meshes; 2017-08-08 01:33:52 -07:00
bjorn 3da48027ce Use struct for shape state; 2017-08-08 01:33:52 -07:00
bjorn b65673bc3f Color object; 2017-08-08 01:33:52 -07:00
bjorn 9efa89768c Organize graphics state; 2017-08-08 01:33:52 -07:00
bjorn ef06a19fa4 Refactor texture filter structure; 2017-08-08 01:33:52 -07:00
bjorn bb2ec5b49c No pointers for CanvasState; 2017-08-08 01:33:52 -07:00
bjorn f649a50264 rm lovrGraphicsSetPerspective; 2017-08-08 01:33:52 -07:00
bjorn 38c5342d8a Private lovrGraphicsEnsureFont; 2017-08-08 01:33:52 -07:00
bjorn 7f80a8577f Mesh cleanup; 2017-08-08 01:33:52 -07:00
bjorn ce0d2746fd State diff for Mesh:setTexture; 2017-08-08 01:33:52 -07:00
bjorn 1402213029 Clean up system limits; 2017-08-08 01:33:52 -07:00
bjorn fd176a608a Private graphics primitive functions; 2017-08-08 01:33:52 -07:00
bjorn 0e474ad6af Reorganize lovrFontPrint; 2017-08-08 01:33:52 -07:00
bjorn 6b0f903b2e rm lovr.graphics.getColorMask; rm lovr.graphics.setColorMask; 2017-08-08 01:33:52 -07:00
bjorn ed25eef2d3 rm lovr.graphics.getScissor; rm lovr.graphics.setScissor; 2017-08-08 01:33:52 -07:00
bjorn a652036111 Use headset offset in error message; 2017-08-07 00:01:12 -07:00
bjorn 3de7c4492c Add missing API function; 2017-08-06 23:58:14 -07:00
bjorn fb10cf6f2a Fix WebVR; 2017-08-06 23:58:14 -07:00
bjorn 8b88ed1c46 1.7m default; 2017-08-06 23:58:14 -07:00
bjorn 9650524e53 Fix origin type boolean check; 2017-08-06 23:58:14 -07:00
bjorn 42a3444fd8 HeadsetOrigin; conf.headset.offset; 2017-08-06 23:58:14 -07:00
bjorn 1c3aa7a996 Allow disabling the graphics module; 2017-08-05 00:33:07 -07:00
bjorn b5a58e31f1 Declare secret OpenVR functions; 2017-08-03 00:57:52 -07:00
bjorn 4e81bc6cd9 Fix Linux glad include; 2017-08-03 00:57:47 -07:00
bjorn b4513d5ca6 Fixes for lovr.filesystem on Linux; 2017-08-03 00:57:28 -07:00
bjorn b55979936f Simplify l_lovrGraphicsSetBackgroundColor; 2017-08-01 13:19:36 -07:00
bjorn 146d037cae Simplify lovrGraphicsClear; 2017-08-01 13:11:32 -07:00
bjorn 48733f87c4 Just use EMCSRIPTEN instead of LOVR_WEB; 2017-08-01 12:16:09 -07:00
bjorn 94355db2b5 Remove font shader discard; 2017-07-31 02:43:04 -07:00
bjorn 416f6f7216 Default to LEQUAL CompareMode; 2017-07-31 02:42:44 -07:00
bjorn 0e470a9088 Pass correct arguments to webvr sittingToStanding; 2017-07-31 02:42:00 -07:00
bjorn 6a13ac5ee1 Don't include glad on web; 2017-07-31 02:41:44 -07:00
bjorn 8464463d4e Set default texture filter before creating texture; 2017-07-31 02:41:13 -07:00
bjorn 32e5c76566 Fix windows compilation; 2017-07-27 20:19:39 -07:00
bjorn ef537e99d4 Math module random functions; 2017-07-26 22:46:31 -07:00
bjorn 8b34330079 RandomGenerator; 2017-07-26 22:46:31 -07:00
bjorn 39ba6d3f12 Add trigger ControllerButton; 2017-07-24 23:17:00 -07:00
bjorn 059c5d3ef2 Fix bugs with font textures; 2017-07-23 23:22:51 -07:00
bjorn d78e986a05 Fix compilation issues; 2017-07-23 23:14:28 -07:00
bjorn 8bf2048cf2 Use header files for lua libraries; 2017-07-23 23:03:13 -07:00
bjorn cb7ac8e656 Add enet; 2017-07-23 23:03:13 -07:00
bjorn 112e6f8f00 lovr.math.lookAt;
Returns the angle/axis rotation for looking at a point.
2017-07-23 22:38:33 -07:00
bjorn 6a8e22f5be Don't check for ubiquitous extension; 2017-07-23 16:24:43 -07:00
bjorn e40f23c649 Formatting; 2017-07-23 16:24:43 -07:00
bjorn d3ac98e248 rm unused code; 2017-07-23 16:24:43 -07:00
bjorn a1007a1545 Add anisotropy system limit; 2017-07-23 16:24:43 -07:00
bjorn 7d31410c8c New Texture filter modes; lovr.graphics.setDefaultFilter; 2017-07-23 16:24:43 -07:00
bjorn f1141664b6 Mipmap generation; 2017-07-23 16:24:43 -07:00
bjorn 344320a19d Parse DDS; 2017-07-23 16:24:43 -07:00
bjorn b25d345e72 Add compressed texture formats; 2017-07-23 16:24:43 -07:00
bjorn b76480f9f2 Add texture compression and filter extensions; 2017-07-23 16:24:43 -07:00
bjorn 2a05fb4033 Refactor TextureFormat; 2017-07-23 16:24:43 -07:00
bjorn 12700f9785 Fix font shader in WebGL; 2017-07-22 16:57:09 -07:00
bjorn abaecb7f60 Font fixes; 2017-07-18 21:48:08 -07:00
bjorn d8047cdeff rm FORMAT_LUMINANCE_ALPHA; 2017-07-19 07:00:11 +09:00
bjorn c750b64b1b Cleanup; 2017-07-19 07:00:11 +09:00
bjorn 8ad3e64a2d Font shader; 2017-07-19 07:00:11 +09:00
bjorn 93c286afb6 Glyph padding; 2017-07-19 07:00:11 +09:00
bjorn 800d07a0de Use msdfgen; 2017-07-19 07:00:11 +09:00
bjorn c518cadcf7 Cleanup; 2017-07-19 07:00:11 +09:00
bjorn 05dd988cb8 Fix undefined behavior with custom fonts; 2017-07-19 07:00:11 +09:00
bjorn e474bb61d1 Add RGB texture format; 2017-07-19 07:00:11 +09:00
bjorn 41210b1bd0 lovr.graphics.plane takes regular transform; 2017-07-19 05:07:18 +09:00
bjorn b2feefe98a Fix Model:getAABB more; 2017-06-25 04:16:47 -07:00
bjorn 7843e24028 Fix Model:getAABB; 2017-06-25 01:30:19 -07:00
bjorn e705e898b2 0.7.1; 2017-06-23 19:43:14 -07:00
bjorn e485f7d628 Fix glad in windows; 2017-06-23 19:42:58 -07:00
bjorn e5a311af09 Add glad for windows; 2017-06-23 19:35:49 -07:00
bjorn e897c2512a Fix Collider:applyTorque; 2017-06-23 17:45:27 -07:00
bjorn 83118a5012 lovr.graphics.sphere; 2017-06-21 23:10:45 -07:00
bjorn 68538c7013 Cleanup; 2017-06-21 19:44:02 -07:00
bjorn dd1db4c86f lovr.graphics.box; Better non-uniform scale; 2017-06-21 19:42:34 -07:00
bjorn a13c793769 Model:getAABB; 2017-06-21 18:53:11 -07:00
bjorn a6ae2bdf6b Fix Collider:getAABB; 2017-06-21 18:45:46 -07:00
bjorn 3744706ade Fix zero scale; 2017-06-20 22:56:11 -07:00
bjorn dfd6c91dec lovr.graphics.cylinder; 2017-06-20 20:54:22 -07:00
bjorn ca95fa0df0 Handle texture formats better; 2017-06-18 17:28:15 -07:00
bjorn 18fa9f7d76 Remove doppler effect; 2017-06-18 16:20:30 -07:00
bjorn 52b203240d Fix mapped buffers for WebGL 2; 2017-06-18 16:19:26 -07:00
bjorn 8beac66db0 OpenGL ES3; Remove glad;
Stop using OpenGL extensions and drop support for OpenGL ES2,
WebGL 1, and OpenGL 2.  Remove glad.
2017-06-18 15:55:01 -07:00
bjornbytes 5f3ce18fcd Fix mesh mapping; 2017-06-13 22:59:27 -07:00
bjornbytes 6c25b9bd4f Fix Mesh:getVertexMap; 2017-06-13 21:28:15 -07:00
bjornbytes 9f097e64e2 Add lovrNormalMatrix; 2017-06-13 20:04:51 -07:00
bjorn 4c16647ff0 0.7.0; 2017-06-11 16:57:41 -07:00
bjorn b84ef967e6 Fix integer attribute test; 2017-06-11 16:48:46 -07:00
bjorn 9428f9628e Fix dirtied sittingToStanding matrix; 2017-06-10 23:18:32 -07:00
bjorn 074e55dc8b Improve error message for main.lua syntax errors; 2017-06-10 17:43:54 -07:00
bjorn 8c0e4bd416 Fix conf error; 2017-06-10 17:30:36 -07:00
bjorn 613b1ea67f Refactor GL extension code; 2017-06-10 16:25:46 -07:00
bjorn 265a81c411 Add window title; Improve initial error handling; 2017-06-10 15:34:35 -07:00
bjorn 1cc62a9b6d DistanceJoint; 2017-06-10 15:13:19 -07:00
bjorn 24a980446a Add extra room to transform stack;
Currently the transform stack doesn't take into account the fact that internal functions use
transforms.  Performing error checking for the transform stack in the internal functions is kind of
difficult (right now we just segfault), so it's easier to just reserve a few of the transforms for
internal use.
2017-06-10 14:44:04 -07:00
bjorn 827c92cc38 Collider constructor accepts position; 2017-06-10 14:17:59 -07:00
bjorn 011b669892 Correct error check in Mesh:setVertexMap; 2017-06-10 14:09:33 -07:00
bjorn 616e4b9488 Clean up Mesh IBO properly; 2017-06-10 14:06:55 -07:00
bjorn bf555d558d Use default shader when drawing mirror texture; 2017-06-10 14:05:20 -07:00
bjorn b305b3b109 Put World headers back; 2017-06-10 14:05:02 -07:00
bjorn b0c86c1903 Reorder collider functions; 2017-06-10 04:51:09 -07:00
bjorn 1061134800 Improve error messages; 2017-06-02 01:31:14 -07:00
bjorn 10ddc06c13 No resizable window; 2017-06-01 23:52:37 -07:00
bjorn 338a544c78 Correct indices in shape list and joint list; 2017-05-29 10:42:07 -07:00
bjorn 769e7514c8 Remove single precision check; 2017-05-25 15:55:16 -07:00
bjorn c198369c95 Joint limits; 2017-05-25 15:20:55 -07:00
bjorn 39400776dc Semantic tags; 2017-05-25 15:01:40 -07:00
bjorn 00142b7a74 rm mask and category declarations; 2017-05-25 13:41:00 -07:00
bjorn 3b4996b7d0 Collider:setFriction; Collider:setRestitution; 2017-05-25 00:56:56 -07:00
bjorn a32eb38026 SliderJoint; 2017-05-25 00:48:02 -07:00
bjorn c828eaa338 HingeJoint; 2017-05-24 23:51:27 -07:00
bjorn 507ab7f4bb BallJoint:getAnchors; BallJoint:setAnchor; 2017-05-24 23:47:16 -07:00
bjorn 73e3282c47 rm Shape category and mask; 2017-05-24 20:06:06 -07:00
bjorn 6bfea99be6 Collider:getAABB; 2017-05-24 18:10:39 -07:00
bjorn 876a8406b1 Shape:getAABB; 2017-05-24 17:47:59 -07:00
bjorn f3df7aa114 World:raycast; 2017-05-24 17:40:32 -07:00
bjorn 07ede6b2dc Custom friction and resitution; 2017-05-24 17:40:32 -07:00
bjorn f1a74c34c3 Joints;
Also no expressions in luax_pushtype;
2017-05-24 17:40:32 -07:00
bjorn f3a4ce3931 Collider:getShapeList; 2017-05-19 22:51:16 -06:00
bjorn 0fb1bd77d8 Shape:destroy; 2017-05-19 22:24:23 -06:00
bjorn 6ef9c6e475 Collider:destroy; 2017-05-19 22:14:20 -06:00
bjorn 5640b1d048 Organization; World:destroy; 2017-05-19 22:11:49 -06:00