ludic/packages/ludic.render3d
Orkuncakilkaya 0c73287e35 feat(lang): functions are values (L2), and render3d takes its scene as callbacks
fn(int, float) -> bool is a type, fn name is any top-level function's value, and a call through
a local, a global, a record field, a slice element, a parameter or a result of a function type
is an indirect call; two function types mix only when equal, a call checks its argument count,
and a value may be null (examples/functions/values.ludic). Job.parallel_for keeps its worker
check.

render3d's scene is registered rather than required by name: r3d_on_draw, r3d_on_casters and
r3d_on_stream_fill (hooks.ludic). The two rendering examples register theirs - and had defined
scene_draw_casters with no parameter while the renderer passed one, which nothing checked.
render3d declares numbers float itself; smooth.ludic is converted to floats and returns when
r3d_init fails instead of running on into a segfault. Noise.* check their argument count (a call
one short crashed the compiler). selfhost-build says why it failed. The migration tool reads a
declared float as evidence. Seed regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 00:27:26 +03:00
..
shaders carry: the runtime and render3d work Maroon Lake builds against 2026-09-23 15:55:02 +03:00
actor.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
assets.manifest feat(gl): OpenGL 4.1 and the ludic.render3d renderer 2026-09-10 03:31:12 +03:00
camera.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
collide.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
daylight.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
drawstats.ludic feat(render3d): gate R3D_* switches behind R3D_DEV in windowed builds 2026-09-16 13:21:51 +03:00
env.ludic feat(render3d): gate R3D_* switches behind R3D_DEV in windowed builds 2026-09-16 13:21:51 +03:00
FEATURES.md feat(render3d): a bole that does not quake, leaves out of the lens, a light with a reach 2026-09-20 00:06:50 +03:00
fmath.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gltf.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gpu.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gpu_manifest.ludic feat(render3d): read the SPIR-V manifest the way a Vulkan backend will 2026-09-15 10:41:43 +03:00
gpu_vk.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gpu_vk_draw.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
gpu_vk_res.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
grass.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
hooks.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
mesh.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
overlay.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
package.ludic feat(gl): OpenGL 4.1 and the ludic.render3d renderer 2026-09-10 03:31:12 +03:00
post.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
prof.ludic feat(render3d): gate R3D_* switches behind R3D_DEV in windowed builds 2026-09-16 13:21:51 +03:00
programs.ludic feat(render3d): one wind, and everything in the valley is moved by it 2026-09-19 18:24:43 +03:00
quat.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
r3d.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
render.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
scatter.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
shadow.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
skin.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
sky.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
stream.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
streamline.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
terrain.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
texture.ludic feat(lang): strict numbers in float files; render3d on float 2026-09-23 17:13:25 +03:00
water.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00