MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / Framebuffer

Class Framebuffer

crates/luacad/src/render.rs:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 },
72 ]
73}
74
75/// Rotate eye-space light directions into world space, given the camera's
76/// eye basis (`right`, `up`, and `view_dir` = the eye's +Z axis).
77fn lights_to_world(
78 lights: [Light; 3],
79 right: [f32; 3],
80 up: [f32; 3],
81 view_dir: [f32; 3],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected