Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 17x 17x 17x 17x 17x 17x 17x 17x 17x 17x 88x 2x 44x 88x 17x 17x 17x 17x 17x 17x | 'use strict';
var Curry = require("bs-platform/lib/js/curry.js");
var OptionSt$Wonderjs = require("../../../../../library/structure/OptionSt.bs.js");
var DpContainer$Wonderjs = require("../../../../../dependency/container/DpContainer.bs.js");
var GeometryEntity$Wonderjs = require("../../entity/GeometryEntity.bs.js");
var TransformEntity$Wonderjs = require("../../entity/TransformEntity.bs.js");
var GameObjectEntity$Wonderjs = require("../../entity/GameObjectEntity.bs.js");
var BSDFMaterialEntity$Wonderjs = require("../../entity/BSDFMaterialEntity.bs.js");
var DirectionLightEntity$Wonderjs = require("../../entity/DirectionLightEntity.bs.js");
var BasicCameraViewEntity$Wonderjs = require("../../entity/BasicCameraViewEntity.bs.js");
var PerspectiveCameraProjectionEntity$Wonderjs = require("../../entity/PerspectiveCameraProjectionEntity.bs.js");
function getTransform(gameObject) {
return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGameObjectRepoDp(undefined).getTransform, GameObjectEntity$Wonderjs.value(gameObject)), TransformEntity$Wonderjs.create);
}
function getDirectionLight(gameObject) {
return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGameObjectRepoDp(undefined).getDirectionLight, GameObjectEntity$Wonderjs.value(gameObject)), DirectionLightEntity$Wonderjs.create);
}
function getBasicCameraView(gameObject) {
return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGameObjectRepoDp(undefined).getBasicCameraView, GameObjectEntity$Wonderjs.value(gameObject)), BasicCameraViewEntity$Wonderjs.create);
}
function getPerspectiveCameraProjection(gameObject) {
return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGameObjectRepoDp(undefined).getPerspectiveCameraProjection, GameObjectEntity$Wonderjs.value(gameObject)), PerspectiveCameraProjectionEntity$Wonderjs.create);
}
function getBSDFMaterial(gameObject) {
return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGameObjectRepoDp(undefined).getBSDFMaterial, GameObjectEntity$Wonderjs.value(gameObject)), BSDFMaterialEntity$Wonderjs.create);
}
function getGeometry(gameObject) {
return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGameObjectRepoDp(undefined).getGeometry, GameObjectEntity$Wonderjs.value(gameObject)), GeometryEntity$Wonderjs.create);
}
exports.getTransform = getTransform;
exports.getDirectionLight = getDirectionLight;
exports.getBasicCameraView = getBasicCameraView;
exports.getPerspectiveCameraProjection = getPerspectiveCameraProjection;
exports.getBSDFMaterial = getBSDFMaterial;
exports.getGeometry = getGeometry;
/* No side effect */
|