Commit Graph

354 Commits

Author SHA1 Message Date
76ca43a645 debug "warn" global for StrafeLua 2024-01-22 14:20:23 -05:00
b5f7a8cc6f Add color_print crate and implement it into the Lua error handler 2024-01-22 13:50:42 -05:00
88ad707f39 Error handler so strafe client wont panic on a Lua error 2024-01-22 13:42:52 -05:00
66eea1f106 added properties for Vector3 & Vector4:
Vector3.ZERO
Vector3.ONE
Vector3.NEG_ZERO
Vector3.NEG_ONE
Vector3.NEG_X
Vector3.NEG_Y
@Vector4:
Vector4.ZERO
Vector4.ONE
Vector4.NEG_ZERO
Vector4.NEG_ONE
Vector4.NEG_X
Vector4.NEG_Y
2024-01-22 12:22:16 -05:00
a51001a875 added properties for Vector2:
Vector2.ZERO
Vector2.ONE
Vector2.NEG_ZERO
Vector2.NEG_ONE
Vector2.NEG_X
Vector2.NEG_Y
2024-01-21 22:44:58 -05:00
d2782012ac _VERSION=StrafeLuau 0.9.0, Luau 0.606 2024-01-21 20:38:27 -05:00
63c8f0f4f5 Vector.new, add vector types 4,3,2,& 1; Lua error handling needed 2024-01-21 20:26:20 -05:00
f21ec098db lifetimes massacred 2024-01-21 00:59:31 -05:00
41b9aafd54 Luau: Vector3(x,y,z) 2024-01-20 23:17:55 -05:00
bf0ed47ceb Temporary return solution
fighting the borrow checker
2024-01-20 23:09:26 -05:00
5327b201c7 first luau.rs commit, this one doesn't work 2024-01-20 20:19:42 -05:00
99b9c527b4 add luau module to main
WIP implementation method
2024-01-20 20:19:10 -05:00
dd4f0b9245 update wgpu and slap lifetimes on everything until it works 2024-01-18 14:26:08 -08:00
6ae058d834 make room for missing texture print 2024-01-18 13:05:54 -08:00
517c4914ac load_bsp module 2024-01-18 13:05:26 -08:00
c86824bdc1 skip objects with zero determinant 2023-12-30 10:36:03 -08:00
5b8e5c8899 we're not using floats anymore 2023-12-12 15:47:31 -08:00
14000c016e multiply and check instead of doing bithacks 2023-12-12 15:30:09 -08:00
1c4191cfc9 convert recursion to stack 2023-12-12 14:47:20 -08:00
b2f067e0b4 stop erroring on subnormals, it's not really an issue 2023-12-04 08:55:21 -08:00
aec82358ee comment about conceptual failure case 2023-12-02 03:06:13 -08:00
5da5006027 attempt to fix the bug 2023-12-02 03:06:13 -08:00
97a1b57b65 TODO: relative d value 2023-12-02 02:02:51 -08:00
a359650ff8 use relative position to avoid overflow 2023-12-02 01:58:18 -08:00
1790390055 don't mess with casts, wtf 2023-12-02 01:31:47 -08:00
49e077996d overflow detect 2023-12-02 01:31:47 -08:00
9bfcf0b083 use det to make numbers smaller 2023-12-01 20:59:04 -08:00
82b3201b0a optimize face_nd: precalculate det 2023-12-01 20:50:38 -08:00
513414d4bd fix a near overflow bug 2023-12-01 18:28:05 -08:00
5c4bd4c3c7 wrong air accel limit 2023-12-01 05:01:13 -08:00
5cedf91709 Face Crawler™ 2023-12-01 04:41:28 -08:00
c201a1a626 improve zeroes precision 2023-12-01 04:41:11 -08:00
fbae4d9f80 delete sweep 2023-12-01 04:41:11 -08:00
9374e93801 face crawler prerequisites 2023-12-01 04:41:11 -08:00
0585cfe6f1 fix test 2023-11-30 01:45:55 -08:00
19e602544a anisotropic filtering 2023-11-10 19:08:33 -08:00
444c3cbad9 remove cybertruck model from default map 2023-11-09 19:21:04 -08:00
de7b7ba7be defer resize to next frame render 2023-11-08 18:20:19 -08:00
008c66e052 TrussPart 2023-11-07 20:54:49 -08:00
ba250277bd textures for spheres and cylinders 2023-11-07 20:45:05 -08:00
085d4e7912 use cubes instead of teapots and monkeys 2023-11-07 16:54:44 -08:00
dd6b5bed24 implement primitive FaceDescriptions with fixed size arrays instead of hashmaps 2023-11-07 13:26:24 -08:00
242b4ab470 style modifiers in mode 2023-11-01 16:06:48 -07:00
9d726c5419 StrafeSettings 2023-10-31 14:32:54 -07:00
9592f82c4e move camera_offset to StyleModifiers & PhysicsOutputState 2023-10-30 22:29:01 -07:00
873c6ab935 panic when u32::MAX verts 2023-10-30 22:12:17 -07:00
7ba94c1b30 enable compat_worker interop with real workers 2023-10-30 19:42:02 -07:00
8fc6a7fb8f comment on intersection test location 2023-10-30 19:16:48 -07:00
a3340143db use enum for bvh node content + wrap every model in aabb 2023-10-30 18:59:51 -07:00
9fc7884270 rename Model{Graphics|Physics} for consistency 2023-10-30 18:27:52 -07:00