bjorn
005d4b93f2
Move math helpers into lib;
...
They aren't really part of the math module since they are shared
across several modules, more "util"-y.
2018-11-15 08:03:51 -08:00
bjorn
ffe3d9d7ef
Default emissive colors to transparent black;
2018-10-11 02:07:09 -07:00
bjorn
6019de19d6
Add missing modelData include;
2018-10-01 21:07:29 -07:00
bjorn
816fda2177
Fix everything and merge;
2018-09-27 18:38:44 -07:00
bjorn
56fa853b09
Fix possible overflow in modelData texture path;
2018-09-26 23:16:18 -07:00
bjorn
2a17f6e4bb
Add LOVR_USE_ASSIMP;
...
lovr.graphics.newModel and lovr.data.newModelData will return nil
if assimp is disabled.
2018-09-21 19:25:48 -07:00
bjorn
7309ac8ce8
Treat trackers and lighthouses as Controllers;
2018-09-11 15:23:46 -07:00
bjorn
4e1757210e
Load cubemap images better;
2018-09-03 20:59:12 -07:00
bjorn
e9ebdc2d58
Rework TextureData creation functions;
2018-08-29 21:18:32 -07:00
bjorn
ae4f0e1e6c
Fix potential ModelData leaks;
2018-08-02 03:27:16 -07:00
bjorn
bc2d638b00
Refs know their type;
2018-07-24 19:14:29 -07:00
bjorn
bcd4d74f13
Use compound literals a bit more;
2018-07-04 14:46:52 -07:00
bjorn
a3e4b9b2b3
Change mat4_transform signature;
2018-05-27 19:05:10 -07:00
bjorn
93e082c8cc
WebVR;
...
- Add FORCE_FILESYSTEM
- Handle THREAD_ERROR event with noop case
- Remove hopefully redundant lovr.graphics.clear in errhand
- Finally use correct type signature for assimpFileTell
2018-05-27 19:05:10 -07:00
bjorn
c59c545198
Fix loading referenced textures for models at project root;
2018-04-11 18:32:56 -07:00
bjorn
bdc9b63b8a
Fix lots of memory leaks;
...
Especially when restarting or using threads.
2018-03-23 19:31:45 -07:00
bjorn
d77b139d21
Make Mesh more lightweight;
2018-03-21 15:36:00 -07:00
bjorn
d2e0642b59
Use calloc in lovrAlloc;
2018-03-21 12:56:16 -07:00
bjorn
6916137dc6
VertexData and TextureData properly extend Blob;
...
...He hates it!
2018-03-10 21:28:22 -08:00
bjorn
66836b4d3a
Fix AABB;
2018-03-01 20:51:57 -08:00
bjorn
4463bd00c8
Load tangents from models;
2018-02-26 02:54:35 -08:00
bjorn
4df836727c
Simplify refcounting;
2018-02-26 00:59:03 -08:00
bjorn
f54d1c1e03
rm containerof;
2018-02-25 23:19:39 -08:00
bjorn
272cce65a2
Weird compile fixes;
2018-02-25 21:41:02 -08:00
bjorn
33c529dcd8
Update WebVR;
2018-02-24 00:59:11 -08:00
bjorn
de0ab5402c
Fix type issue;
2018-02-15 19:59:31 -08:00
bjorn
3287b0acb6
Fix OpenVR controller model materials;
2018-02-13 21:24:18 -08:00
bjorn
cca1f32d10
PBR material properties;
2018-02-11 19:16:40 -08:00
bjorn
d5a1928b3d
Rename a bunch of files;
2018-02-11 15:22:04 -08:00