I have successfully created a cube and lines using Three.js.
My goal is to position the lines around the cube as guidelines, as shown below:
However, I am struggling to understand the properties of the line:
var lengthVertArray = lengthLineGeometry.vertices;
lengthVertArray.push(new THREE.Vector3(-240, 50, 0), new THREE.Vector3(30, 120, 0));
By experimenting with different values, I managed to position the "line" for "length".
Yet, I really want to grasp the essence of these properties so that I can accurately adjust them to position the lines for height and width.
You can view my cube with guidelines in this Fiddle: http://jsfiddle.net/boquqL84/3/
If you require any additional information, please let me know.
Any suggestions would be greatly appreciated.