let BaseNode=require("../Utils/BaseNode").BaseNode,APJS=require("../../../amazingpro");class CGAngleBetween extends BaseNode{constructor(){super()}getOutput(e){var t,n,s,u;return null==this.inputs[0]||null==this.inputs[1]||(t=this.inputs[0](),n=this.inputs[1](),s=t.magnitude(),u=n.magnitude(),0==s)||0==u?null:Math.acos(Math.min(1,Math.max(-1,t.dot(n)/s/u)))}}exports.CGAngleBetween=CGAngleBetween;