Convenience module for GLSL raytracing that provides a turntable camera for your scene.
If you're looking for more flexibility, you might want to check out glsl-camera-ray.
angleis the camera's rotation around the origin in radians.
heightis the camera's height relative to the origin.
distis the distance the camera is placed from the origin.
rois the ray origin, which gets set as a result of calling this function.
rdis the ray direction, a unit vector which gets set as a result of calling this function.
vec2# raytrace = require('glsl-raytrace', map = doModel, steps = 50)# camera = require('glsl-turntable-camera')void
See stackgl/contributing for details.
MIT. See LICENSE.md for details.