UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

3 lines (2 loc) 1.59 kB
import{F as o}from"./flowGraphUnaryOperationBlock-DAnp-QWU.esm.min.js";import{d as r,k as a,a as e}from"./declarationMapper-sl3auZpG.esm.min.js";import{F as t}from"./objectModelMapping-DA3c5cv8.esm.min.js";import{u as s}from"./index-OM-TXt9s.esm.min.js";import"./flowGraphCachedOperationBlock-YPEvoRCv.esm.min.js";import"./KHR_interactivity-BMn2G2LI.esm.min.js";import"./spotLight.pure-guqQj5Iw.esm.min.js";class l extends o{constructor(o){super(e,r,o=>+o,"FlowGraphBooleanToFloat",o)}}class n extends o{constructor(o){super(e,a,o=>t.FromValue(+o),"FlowGraphBooleanToInt",o)}}class p extends o{constructor(o){super(r,e,o=>!!o,"FlowGraphFloatToBoolean",o)}}class c extends o{constructor(o){super(a,e,o=>!!o.value,"FlowGraphIntToBoolean",o)}}class m extends o{constructor(o){super(a,r,o=>o.value,"FlowGraphIntToFloat",o)}}class u extends o{constructor(o){super(r,a,r=>{const a=o?.roundingMode;switch(a){case"floor":return t.FromValue(Math.floor(r));case"ceil":return t.FromValue(Math.ceil(r));case"round":return t.FromValue(Math.round(r));default:return t.FromValue(r)}},"FlowGraphFloatToInt",o)}}let i=!1;function F(){i||(i=!0,s("FlowGraphBooleanToFloat",l),s("FlowGraphBooleanToInt",n),s("FlowGraphFloatToBoolean",p),s("FlowGraphIntToBoolean",c),s("FlowGraphIntToFloat",m),s("FlowGraphFloatToInt",u))}F();export{l as FlowGraphBooleanToFloat,n as FlowGraphBooleanToInt,p as FlowGraphFloatToBoolean,u as FlowGraphFloatToInt,c as FlowGraphIntToBoolean,m as FlowGraphIntToFloat,F as RegisterFlowGraphTypeToTypeBlocks}; //# sourceMappingURL=flowGraphTypeToTypeBlocks-BJqksZAd.esm.min.js.map