MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / init

Method init

components/liquid-ether.tsx:923–927  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

921 this.init();
922 }
923 init() {
924 this.calcSize();
925 this.createAllFBO();
926 this.createShaderPass();
927 }
928 getFloatType() {
929 const isIOS = /(iPad|iPhone|iPod)/i.test(navigator.userAgent);
930 return isIOS ? THREE.HalfFloatType : THREE.FloatType;

Callers 1

constructorMethod · 0.95

Calls 3

calcSizeMethod · 0.95
createAllFBOMethod · 0.95
createShaderPassMethod · 0.95

Tested by

no test coverage detected