elevate pi points so they don't overlap with the sphere
This commit is contained in:
@@ -70,7 +70,8 @@ const PinsCanvas3D = ({
|
|||||||
const theta = p.longitude;
|
const theta = p.longitude;
|
||||||
vectorPI.setFromSphericalCoords(SPHERE_RADIUS, phi, theta);
|
vectorPI.setFromSphericalCoords(SPHERE_RADIUS, phi, theta);
|
||||||
dotGeometryPI.lookAt(vectorPI);
|
dotGeometryPI.lookAt(vectorPI);
|
||||||
dotGeometryPI.translate(vectorPI.x, vectorPI.y, vectorPI.z);
|
dotGeometryPI.translate(vectorPI.x, vectorPI.y, vectorPI.z - 0.1);
|
||||||
|
console.log(vectorPI.z);
|
||||||
dotGeometriesPI.push(dotGeometryPI);
|
dotGeometriesPI.push(dotGeometryPI);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user