Commit Graph

3845 Commits

Author SHA1 Message Date
bjorn ce89900dcc Improve newFont API; 2017-02-16 16:41:46 -08:00
bjorn 078d5290c0 Move default font into loaders; 2017-02-16 16:41:29 -08:00
bjorn ebb40867e0 lovr.graphics.print geometry; 2017-02-16 16:23:52 -08:00
bjorn 1b2527db18 Center lines by default; 2017-02-16 15:42:33 -08:00
bjorn 12bdaca72b Font stability; Font line height; 2017-02-12 03:14:10 -08:00
bjorn ff5a114e65 Font transforms; Font refcounting; 2017-02-10 03:24:13 -08:00
bjorn 54df1f2ff8 Font:getBaseline; 2017-02-09 21:06:08 -08:00
bjorn a8b338b6e1 Font:getWidth; 2017-02-09 21:06:08 -08:00
bjorn aefe788fa2 Use LEQUAL depth test when drawing text; 2017-02-09 21:06:07 -08:00
bjorn 7c1cedf809 Improve initial font texture size; 2017-02-09 21:06:07 -08:00
bjorn 530c80c63c Kerning; 2017-02-09 21:06:07 -08:00
bjorn 458aa43700 Default font; 2017-02-09 21:06:07 -08:00
bjorn 15be73c7e8 Messy FreeType CMake; 2017-02-09 21:06:07 -08:00
bjorn 73d8b8aa3e Unicode; 2017-02-09 21:06:07 -08:00
bjorn db2ed2d0a5 Global font metrics; 2017-02-09 21:06:07 -08:00
bjorn f80e3e5a13 More font rendering; 2017-02-09 21:06:07 -08:00
bjorn 02386af34f Less terrible font rendering; 2017-02-09 21:06:07 -08:00
bjorn ab2d0ee79a Really terrible font rendering; 2017-02-09 21:06:07 -08:00
bjorn 853e9d89d7 Fonts; 2017-02-09 21:06:07 -08:00
bjorn 6d55c51a3e Fix crash when SteamVR is missing; 2017-02-03 16:08:58 -08:00
bjorn db701f249f Buffer:getVertexFormat; 2017-01-29 19:23:37 -08:00
bjorn 4a3f284881 Buffer:draw accepts transform arguments; 2017-01-29 19:12:25 -08:00
bjorn 78c6452d09 Optional texture path in lovr.graphics.newModel; 2017-01-29 19:03:50 -08:00
bjorn 721102456a Disable culling while drawing skyboxes; 2017-01-28 23:19:28 -08:00
bjorn 1714804651 Fix headset types; 2017-01-26 02:26:15 -08:00
bjorn e80f390151 Try #pragma once; 2017-01-26 02:21:56 -08:00
bjorn c47259ccec Fix OpenVR models; 2017-01-24 21:49:51 -08:00
bjorn 3dee0b4782 lovr.headset.getEyePosition; HeadsetEye; 2017-01-22 21:20:34 -08:00
bjorn 492a75acba Properly destroy modules on exit; 2017-01-21 18:18:12 -08:00
bjorn 4303846eac Clean up includes; 2017-01-21 18:00:32 -08:00
bjorn 6979b59980 map_int_find -> luax_pushenum; 2017-01-21 17:38:44 -08:00
bjorn 14dfeb688f Get rid of loadImage; 2017-01-21 17:29:20 -08:00
bjorn dff9cc3c98 Add stb_image implementation file; 2017-01-21 17:15:04 -08:00
bjorn 666a3a23d7 Remove assimp includes from lovrGraphics; 2017-01-21 17:12:08 -08:00
Bjorn Swenson a3a3a368c0 Merge pull request #9 from bjornbytes/math
Math
2017-01-20 20:44:05 -08:00
bjorn 9e0d8801b6 mat4_setTransform; 2017-01-20 20:43:00 -08:00
bjorn 1f4ecad44b Shuffle things around; 2017-01-20 20:16:59 -08:00
bjorn 039309a222 Remove unused math code; 2017-01-20 20:11:18 -08:00
bjorn 8a3d52b3c6 Cleanup ugh; 2017-01-20 19:55:54 -08:00
bjorn 07803ef16a Remove Vector and Rotation; 2017-01-20 19:46:45 -08:00
bjorn 4e43af9624 Kill l_lovrTransformUnpack for now;
Oh well
2017-01-20 18:39:49 -08:00
bjorn 4fc7d27750 lovr.graphics.transform; 2017-01-20 18:39:49 -08:00
bjorn 5e2cfcc9bd graphics.cube and Model:draw accept Transform; 2017-01-20 18:39:49 -08:00
bjorn a118a6bff5 Cleanup; 2017-01-20 18:39:49 -08:00
bjorn 3dbafc8214 Cleanup; 2017-01-20 18:39:48 -08:00
bjorn a3ccb16913 Rough math module; 2017-01-20 18:39:47 -08:00
bjorn c7399c8078 Reorder mat4 functions; 2017-01-20 18:39:47 -08:00
bjorn 4f0f685e04 luax_istype; 2017-01-20 18:39:47 -08:00
bjorn f19967e0e6 More general luax_registertype; 2017-01-20 18:39:47 -08:00
bjorn e8e2a99e5b Finish internal math library; 2017-01-20 18:39:46 -08:00