MCPcopy Index your code
hub / github.com/aframevr/aframe / parseSide

Function parseSide

src/components/text.js:382–394  ·  view source on GitHub ↗

* Due to using negative scale, we return the opposite side specified. * https://github.com/mrdoob/three.js/pull/12787/

(side)

Source from the content-addressed store, hash-verified

380 * https://github.com/mrdoob/three.js/pull/12787/
381 */
382function parseSide (side) {
383 switch (side) {
384 case 'back': {
385 return THREE.FrontSide;
386 }
387 case 'double': {
388 return THREE.DoubleSide;
389 }
390 default: {
391 return THREE.BackSide;
392 }
393 }
394}
395
396/**
397 * @returns {Promise}

Callers 1

text.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected