Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function set_camera(axis, v) {
camera.position[axis] = v;
camera.lookAt(conf.camera.origin);
}
function position_camera() {
camera.position.x = conf.camera.x;
camera.position.y = conf.camera.y;
camera.position.z = conf.camera.z;
camera.lookAt(conf.camera.origin);
}