glsl-pipeline
Version:
Prototype complex pipelines directly from a single shader by branching it into stages using React Three Fiber/React.
12 lines (9 loc) • 335 B
JavaScript
;
var isOrthographicCamera = function isOrthographicCamera(def) {
return def && def.isOrthographicCamera;
};
var isPerspectiveCamera = function isPerspectiveCamera(def) {
return def && def.isPerspectiveCamera;
};
exports.isOrthographicCamera = isOrthographicCamera;
exports.isPerspectiveCamera = isPerspectiveCamera;