bjorn
6a8048765f
luax_loadfile uses core/fs;
2019-12-10 12:19:50 -08:00
bjorn
d2b0b30faf
Texture:encode doesn't use File;
2019-12-10 12:19:50 -08:00
bjorn
8da7df68d8
core/fs;
2019-12-10 12:19:50 -08:00
bjorn
f3745a1edc
Use uint64_t for seed in luax_checkrandomseed;
2019-12-05 13:46:12 -08:00
bjorn
abde1aaaf3
Update README;
2019-12-05 13:40:46 -08:00
bjorn
bc948e7ea5
rm trailing whitespace;
2019-12-05 13:40:05 -08:00
bjorn
bfd63e3515
Use restrict modifier in curve evaluation;
...
Allows compiler to emit SIMD, way smaller/faster.
2019-12-05 13:39:04 -08:00
bjorn
fd16865dd1
Enable threads for wasm builds;
2019-12-05 13:37:27 -08:00
bjorn
c904872df0
rm unused wasm zlib flag;
2019-12-05 12:43:57 -08:00
bjorn
871542bddf
Use relative rpath on Linux;
2019-12-04 14:07:35 -08:00
bjorn
c07b9e3fec
rm unnecessary include;
2019-11-28 16:04:41 -08:00
bjorn
08f90ab1bd
Make refcount 64 bits to avoid alignment issues;
...
There may be a better way to solve this, but I can't think of one
that doesn't also violate strict aliasing.
2019-11-28 16:03:42 -08:00
bjorn
1030c01a35
Stop aligning pool memory;
...
It isn't necessary anymore since we aren't hiding data in the alignment
bits and it seems to be causing problems in wasm.
2019-11-28 15:59:04 -08:00
bjorn
b9f5ece72b
Fix arr_splice;
2019-11-28 15:58:38 -08:00
bjorn
3e347f0521
Properly initialize uniform.dirty;
2019-11-28 15:31:27 -08:00
bjorn
ad5389b1f4
Improve luax_readquat(nil);
2019-11-28 15:26:52 -08:00
bjorn
898a3f9f35
rm double underscores from glsl;
...
This naming pattern is reserved.
2019-11-28 15:25:19 -08:00
bjorn
b69a5ba1a3
Update conf.version;
...
opps
2019-11-27 20:48:58 -08:00
bjorn
2a5bae0b18
Improve error messages for unknown types;
2019-11-27 20:45:18 -08:00
bjorn
2ecc1c552f
Fix uniform array hashing;
2019-11-26 11:34:39 -08:00
bjorn
25bdc05343
rm unused physfs cmake option;
2019-11-23 01:17:00 -08:00
bjorn
31b5792713
ifdef out glfwInitHint on emscripten;
2019-11-22 19:36:30 -08:00
Bjorn
539e25897b
Merge pull request #157 from bjornbytes/shape-sensor
...
Shape:isSensor; Shape:setSensor;
2019-11-20 18:35:24 -08:00
Bjorn
0774821c38
Merge pull request #168 from bjornbytes/shader-main
...
Add lovrMain macro to shaders (no breaking change);
2019-11-20 18:17:55 -08:00
bjorn
6ad2d8ccef
Add lovrMain macro to shaders (no breaking change);
2019-11-18 23:20:08 -08:00
bjorn
c031c0c578
Fix comment;
2019-11-18 03:37:42 -08:00
bjorn
bd169a4a4d
Fix readable buffers;
...
Unsynchronized/invalidated mapping doesn't work if the read bit is set.
2019-11-14 12:42:52 -08:00
bjorn
23c36597fc
CMake: Suppress giant OpenVR warnings;
2019-11-11 19:14:35 -08:00
bjorn
9ac34ff190
Add :release to all objects;
2019-11-11 18:42:11 -08:00
bjorn
13136482b9
Fix Channel memory leak;
...
Channels need to be removed from the global array/map when destroyed.
Note that this exposes an infinite loop in map_remove, which will
be fixed later.
Note also that Channel's are retained if they have any messages in
them, to prevent releasing a channel while it has pending messages.
2019-11-11 18:33:33 -08:00
bjorn
8d12f0b867
Make userdata hashes 64 bit;
2019-11-11 16:39:02 -08:00
bjorn
a7e24ab28e
Joint:isEnabled; Joint:setEnabled;
2019-11-11 16:39:02 -08:00
Bjorn
26aa87034a
Merge pull request #166 from alloverse/fix/vs2019
...
Fix move_dll for VS2019
2019-11-07 14:26:03 -08:00
Nevyn Bengtsson
66aa0449a5
Fix move_dll for VS2019
...
TARGET_FILE_DIR will do the right thing regardless of VR version
2019-11-07 23:09:47 +01:00
bjorn
0bd5fced12
Use new glfw method for avoiding chdir;
2019-11-03 15:31:21 -08:00
bjorn
7932130d9b
Update glfw to 3.3;
2019-11-03 15:24:24 -08:00
Bjorn
86d9c913bd
Merge pull request #163 from bjornbytes/map
...
Add core/map hash table; rm lib/map;
2019-10-30 00:53:53 -07:00
bjorn
d21911d010
Add core/map hash table; rm lib/map;
2019-10-30 00:07:05 -07:00
bjorn
15e9fd49e7
Update LuaJIT;
2019-10-24 15:08:19 -07:00
bjorn
9fac40b073
Update LuaJIT;
...
Fixes potential ffi.load crashes.
2019-10-24 14:31:43 -07:00
bjorn
50279d1d9f
LOVR_USE_LUAJIT define is not used;
2019-10-22 20:21:41 -07:00
Bjorn
c42fb293e3
Merge pull request #162 from bjornbytes/rm-sse
...
rm LOVR_USE_SSE;
2019-10-22 17:49:07 -07:00
bjorn
b35ebc15b6
rm LOVR_USE_SSE;
...
It doesn't really improve performance on an average LÖVR app and
isn't worth the complexity.
2019-10-22 16:46:54 -07:00
bjorn
d51d2b4105
Fix stack balance with luax_checkvariant;
...
Was breaking Channel:push.
2019-10-22 16:42:10 -07:00
bjorn
b940f2d53f
Add AABB to OBJ models;
2019-10-21 17:46:28 -07:00
Bjorn
d7b3e1cf46
Merge pull request #160 from nevyn/fix/objc_msgsend_cast
...
Cast objc_msgSend before calling it
2019-10-15 13:12:19 -07:00
Bjorn
0bb3271bb5
Merge pull request #159 from nevyn/fake-controller-position
...
Desktop driver: Move left controller with mouse
2019-10-15 13:05:36 -07:00
Nevyn Bengtsson
ab6e4891e1
Cast objc_msgSend before calling it
...
Calling objc_msgSend with its vararg signature will only work most
of the time, and fail very weirdly when it doesn't. It's weird,
but you're supposed to always cast it to the signature of the
selector you're calling.
I think this is even required when building on Catalina, or for arm64?
2019-10-15 22:00:15 +02:00
Nevyn Bengtsson
e35a5435ca
update leftHandTransform in desktop_update
...
to be consistent with how headTransform is calculated.
also, rename ‘transform’ to ‘headTransform’ for consistency.
2019-10-15 21:50:28 +02:00
bjorn
4d2aa81647
Reset active texture in lovrGpuInit;
2019-10-15 11:34:49 -07:00