Last active
January 24, 2019 17:37
-
-
Save Carnaux/10d8c24238a09969c1da60f7367a78c0 to your computer and use it in GitHub Desktop.
Dot three js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dotGeometry = new THREE.Geometry(); | |
dotGeometry.vertices.push(RayOrigin); | |
var dotMaterial = new THREE.PointsMaterial({ | |
size: 10, | |
sizeAttenuation: false | |
}); | |
var dot = new THREE.Points(dotGeometry, dotMaterial); | |
scene.add(dot); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment