MihailRis
25808d2b21
Merge branch 'dev' into generated-pcm-stream
2025-11-04 18:15:42 +03:00
MihailRis
497160a5b9
Merge pull request #662 from MihailRis/core-cameras-and-mouse-delta
...
Core cameras and mouse delta things
2025-11-04 18:14:43 +03:00
MihailRis
9e817c39ce
disable mouse camera control if non-standard camera used
2025-11-04 17:55:01 +03:00
MihailRis
751489b003
add input.get_mouse_delta()
2025-11-04 16:17:57 +03:00
MihailRis
4f88e3b964
Merge branch 'main' into dev
2025-11-04 16:02:46 +03:00
MihailRis
652f652e55
fix: player.get_camera, set_camera are not documented
2025-11-04 16:02:11 +03:00
MihailRis
934c5f194e
fix: on_hud_render is not documented
2025-11-04 15:50:52 +03:00
MihailRis
a63df74bb6
Merge branch 'dev' into generated-pcm-stream
2025-11-04 12:55:00 +03:00
MihailRis
5859e6cdf2
Merge pull request #661 from MihailRis/environments-related
...
Environments-related works
2025-11-04 12:54:05 +03:00
MihailRis
d163f12e67
fix
2025-11-04 12:13:55 +03:00
MihailRis
9afe265094
update doc/*/scripting/builtins/libapp.md
2025-11-04 11:59:58 +03:00
MihailRis
ca6096c397
minor refactor
2025-11-04 11:53:48 +03:00
MihailRis
90f7fce2b1
feat: pass pack environment to menu page script
2025-11-04 09:30:38 +03:00
eliotbyte
17f6bd4403
refactor: extract compute_face_points and expand_aabb_4_if_needed helpers
...
- Added compute_face_points() to eliminate repeated p0..p3 calculations
- Added expand_aabb_4_if_needed() to consolidate densePass checks
- Unified expand_aabb() usage to expand_aabb_point() throughout
- Reduced code duplication in face(), faceAO(), and face variant methods
2025-11-02 18:19:02 +03:00
eliotbyte
0eec97726d
fix missing AABB expansion for non-AO faces
2025-11-02 17:30:30 +03:00
eliotbyte
3a78d5f334
fix constant naming
2025-11-02 15:01:31 +03:00
eliotbyte
34cb2bfdd5
fix function naming
2025-11-02 15:01:31 +03:00
eliotbyte
1dfb415843
refactor: constexpr constants and minor optimizations
...
Replace magic numbers with named constants, add AABB helpers,
reduce redundant normalizations, improve TU organization
2025-11-02 15:01:30 +03:00
eliotbyte
dbee19693e
refactor: consolidate duplicated AABB and texture code
...
Extract repeated frustum culling, UV region filling, and directional lighting calculations into helper functions. Fix compilation issues
2025-11-02 15:01:30 +03:00
eliotbyte
b201151500
fix translucent rendering order across chunk boundaries
2025-11-02 15:01:30 +03:00
eliotbyte
1bea18294f
fix AABB bounds for opaque custom block models
2025-11-02 15:01:30 +03:00
eliotbyte
4dc1fdbe05
fix cross-chunk culling for extended blocks with precise mesh AABBs
2025-11-02 15:01:30 +03:00
eliotbyte
27ce16db27
fix extended blocks culling and lighting at chunk boundaries
2025-11-02 15:01:29 +03:00
eliotbyte
1eeb59de26
fix extended block placement across chunk borders
2025-11-02 15:00:35 +03:00
eliotbyte
70d19a961b
docs: add :block placement to world generator
2025-11-02 15:00:35 +03:00
eliotbyte
3644857900
add :block placement for single blocks
2025-11-02 15:00:35 +03:00
eliotbyte
772a282c8b
docs: add custom model variant examples to block-propertie
2025-11-02 15:00:34 +03:00
eliotbyte
c7259d4e19
fix enable per-variant custom model caching
2025-11-02 15:00:34 +03:00
Eliot Byte
c815419e7c
fix correct line generation algorithm and bounds calculation ( #657 )
...
* fix correct line generation algorithm and bounds calculation
- Fix closest_point_on_segment algorithm using proper dot product projection
- Correct loop bounds calculation for radius=0 lines
- Use precise integer arithmetic to avoid rounding errors
- Resolves missing blocks in vertical line structures
* fix ai hallucinations
* polishing closest_point_on_segment
* refactor: extract dot product calculation
2025-11-02 15:00:34 +03:00
MihailRis
aa54e900d9
add U16view, I16view, U32view, I32view classes
2025-11-02 01:17:56 +03:00
MihailRis
86a4060a68
feat: multiple audio fetchers support
2025-11-01 23:06:26 +03:00
MihailRis
5a65cbe071
move PCMStream to audio
2025-11-01 22:04:39 +03:00
MihailRis
fcbbdd649b
split internal modules
2025-10-31 23:54:56 +03:00
MihailRis
fe8e4ba7b4
add internal/audio_input module
2025-10-31 23:30:29 +03:00
MihailRis
284f24433c
extract debugging code to internal/debugging module
2025-10-31 23:18:26 +03:00
MihailRis
0e2b203fb2
add debug.get_pack_by_frame
2025-10-31 22:53:04 +03:00
MihailRis
be2dc1abe5
add PCMStream:create_sound method
2025-10-30 22:48:53 +03:00
MihailRis
cf561e78a8
fix: stream stops and dies on underflow
2025-10-30 19:56:07 +03:00
MihailRis
debd28ba55
Merge pull request #660 from eliotbyte/fix/custom-model-variants
...
Fix/custom model variants
2025-10-29 12:38:36 +03:00
eliotbyte
cd6b73f1eb
docs: add custom model variant examples to block-propertie
2025-10-28 23:09:48 +03:00
eliotbyte
2a1d2f9354
fix enable per-variant custom model caching
2025-10-28 23:09:28 +03:00
MihailRis
ab7bf9c709
cleanup
2025-10-24 23:10:16 +03:00
MihailRis
6c558eb3d5
add audio.get_input_info()
2025-10-24 01:19:07 +03:00
MihailRis
001c1b430b
minor refactor
2025-10-23 23:45:55 +03:00
MihailRis
6df27b8992
add audio.get_output_devices_names, set_input_device, set_output_device
2025-10-23 22:54:05 +03:00
MihailRis
b11bdf0bcc
add audio.get_input_devices_names()
2025-10-23 22:08:30 +03:00
Eliot Byte
ed9cf8800a
fix correct line generation algorithm and bounds calculation ( #657 )
...
* fix correct line generation algorithm and bounds calculation
- Fix closest_point_on_segment algorithm using proper dot product projection
- Correct loop bounds calculation for radius=0 lines
- Use precise integer arithmetic to avoid rounding errors
- Resolves missing blocks in vertical line structures
* fix ai hallucinations
* polishing closest_point_on_segment
* refactor: extract dot product calculation
2025-10-23 12:29:04 +03:00
MihailRis
6b9a408e6d
Merge branch 'dev' into generated-pcm-stream
2025-10-18 22:34:04 +03:00
MihailRis
1a745154b2
Merge branch 'main' into dev
2025-10-17 17:54:08 +03:00
MihailRis
6c01d57d53
cleanup
2025-10-17 17:35:22 +03:00