1940 Commits

Author SHA1 Message Date
MihailRis
2dffdf757c add <image ...> atlases support 2024-06-30 22:05:12 +03:00
MihailRis
c0dca31e98 memory refactor Texture and ImageData 2024-06-30 21:24:46 +03:00
MihailRis
ce9c5b97c7 fix vecn.normalize 2024-06-30 00:33:01 +03:00
MihailRis
ce1ece5eb9 update vector binary operation functions 2024-06-25 19:19:14 +03:00
MihailRis
33b21953e3 fix: lua::tovec + add vecn.tostring 2024-06-25 19:01:00 +03:00
MihailRis
10301bb686
Merge pull request #256 from MihailRis/add-vector-libraries
Add vec2, vec3, vec4 libraries
2024-06-25 18:45:32 +03:00
MihailRis
0c4b978466 refactor libvecn 2024-06-25 18:37:57 +03:00
MihailRis
c7db73e25b add vecn.sub(...), .mul(...), .div(...), .length(...), .normalize(...) 2024-06-25 18:24:48 +03:00
MihailRis
5ede84edc7 add vec2, vec3, vec4 libraries 2024-06-25 17:25:42 +03:00
MihailRis
6f618ae3ff
Merge pull request #254 from MihailRis/model-batch
add models and ModelBatch + Assets refactor
2024-06-23 02:56:59 +03:00
MihailRis
0c8df834dd fix mat4.rotate(...) 2024-06-23 02:48:29 +03:00
MihailRis
4fdfeb5e88 fix msvc build 2024-06-23 02:07:52 +03:00
MihailRis
30ac1a58ee remove test code 2024-06-23 02:05:13 +03:00
MihailRis
94fe5eeb5b update ModelBatch semantics 2024-06-23 01:57:28 +03:00
MihailRis
ea0add3017 feat: models loading 2024-06-22 23:43:56 +03:00
MihailRis
d54b6b2e58 update Assets container - template-based now 2024-06-22 22:30:14 +03:00
MihailRis
848d121099 remove test code 2024-06-22 21:35:21 +03:00
MihailRis
e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
MihailRis
a9640fff36 add ModelBatch.translate(...), .rotate(...), .scale(...) 2024-06-21 20:55:14 +03:00
MihailRis
8e26ead76c Merge branch 'main' into model-batch 2024-06-21 19:44:12 +03:00
MihailRis
66dd54b548 add mat4.decompose 2024-06-21 19:43:45 +03:00
MihailRis
1a12a6923a remove ModelBatch.test(...) 2024-06-21 19:19:20 +03:00
MihailRis
6ba38ee167 add graphics/core/Model 2024-06-21 02:30:35 +03:00
MihailRis
916d1c1408 update ModelBatch.box semantics 2024-06-21 01:43:26 +03:00
MihailRis
a53dc7e0df fix ModelBatch.box(...) 2024-06-20 22:16:09 +03:00
MihailRis
57a0377b36 fix ModelBatch overflow 2024-06-20 21:54:06 +03:00
MihailRis
3235740333 add actual lights 2024-06-20 21:18:40 +03:00
MihailRis
3d2deaf369 add ModelBatch pseudo-lights 2024-06-20 20:15:03 +03:00
MihailRis
6d6313cd10 add ModelBatch 2024-06-20 19:45:19 +03:00
MihailRis
5977c9c241
Merge pull request #253 from rekvizitt/main
Update be_BY.txt
2024-06-20 16:39:28 +03:00
rekvizitt
602d3d7b8d
Update be_BY.txt 2024-06-20 10:36:51 +03:00
MihailRis
99094d2299 reduce redundancy in scripting.cpp 2024-06-19 16:51:42 +03:00
MihailRis
bcbec562ac add mat4.determinant(...) 2024-06-19 14:38:50 +03:00
MihailRis
2395e05a01 fix .wav sounds support 2024-06-18 18:17:47 +03:00
MihailRis
0232e9fb23 update /doc/*/scripting/builtins/libmat4.md 2024-06-18 00:41:01 +03:00
MihailRis
321cdf6ed5
Merge pull request #252 from MihailRis/mat4-library
add mat4 library
2024-06-18 00:38:18 +03:00
MihailRis
6ce512f1e8 add doc/*/scripting/builtins/libmat4.md 2024-06-18 00:29:23 +03:00
MihailRis
097d4e3c6b add new mat4.tostring overload 2024-06-18 00:18:21 +03:00
MihailRis
88b21262a3 update mat4.rotate to use degrees instead of radians 2024-06-18 00:03:40 +03:00
MihailRis
b3ea3a3c51 add mat4.idt new overload 2024-06-17 23:21:30 +03:00
MihailRis
d077f8d15a add mat4.inverse, mat4.transpose 2024-06-17 23:06:31 +03:00
MihailRis
6062f3a488 add mat4.mul 2024-06-17 22:19:21 +03:00
MihailRis
760e9171e2 add mat4.translate and mat4.rotate 2024-06-17 11:24:56 +03:00
MihailRis
d12cfc6421 fix lua::pushvalue 2024-06-17 10:59:30 +03:00
MihailRis
8f046b86b9 add mat4.scale mutating overload 2024-06-17 10:56:31 +03:00
MihailRis
c7a843bc63 add mat4 library 2024-06-17 10:12:33 +03:00
MihailRis
0debe32da4 revert file.read_bytes 2024-06-16 23:23:13 +03:00
MihailRis
72d46e4839
Merge pull request #251 from MihailRis/lua-bytearray
add lua user types + bytearray
2024-06-16 23:07:46 +03:00
MihailRis
bfdd92ca51 update file.write_bytes to support bytearray + bit_converter bytearray support 2024-06-16 22:55:56 +03:00
MihailRis
6bf23e5cac add bytearray lua-style appending support 2024-06-16 22:07:42 +03:00