Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created November 24, 2022 05:18
Embed
What would you like to do?
var ray;
function castRay(){
ray = scene.activeCamera.getForwardRay();
}
engine.runRenderLoop(function () {
castRay();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment