MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / createHelixVertices

Function createHelixVertices

public/iframe/lib/js/mixinsThree.js:223–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 }
222
223 function createHelixVertices () {
224
225 let i = 0;
226 const vector = new THREE.Vector3();
227
228 for (; i < objLength; ++i) {
229
230 const object = fixPosition('helix', i)
231 object.scale.set(1.1, 1.1, 1.1);
232
233 vector.x = object.position.x * 2;
234 vector.y = object.position.y;
235 vector.z = object.position.z * 2;
236
237 object.lookAt(vector);
238
239 that.targets.helix.push(object);
240 }
241
242
243 }
244
245 function createGridVertices () {
246 let i = 0;

Callers 1

initFunction · 0.85

Calls 1

fixPositionFunction · 0.85

Tested by

no test coverage detected