This file contains hidden or 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
void main() { | |
gl_FragColor = vec4(0, 1, 0, 1); | |
} |
This file contains hidden or 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
import { Object3D } from 'three' | |
import { Vector2, Vector3 } from 'three' | |
/** | |
* @author qiao / https://github.com/qiao | |
* @author mrdoob / http://mrdoob.com | |
* @author alteredq / http://alteredqualia.com/ | |
* @author WestLangley / http://github.com/WestLangley | |
* @author David Geo Holmes (TypeScript migration) | |
*/ |
This file contains hidden or 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
import { Object3D } from 'three' | |
import { Vector2, Vector3 } from 'three' | |
/** | |
* @author qiao / https://github.com/qiao | |
* @author mrdoob / http://mrdoob.com | |
* @author alteredq / http://alteredqualia.com/ | |
* @author WestLangley / http://github.com/WestLangley | |
* @author David Geo Holmes (TypeScript migration) | |
*/ |
This file contains hidden or 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
table { | |
background: #FFFFFF; | |
border: solid 1px #DDDDDD; | |
margin-bottom: 1.25rem; | |
table-layout: auto; | |
} | |
table caption { | |
background: transparent; | |
color: #222222; |
This file contains hidden or 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
const heightCone = 0.2 | |
const radiusCone = 0.08 | |
const radiusStem = 0.01 | |
const heightStem = 0.8 | |
const radiusSegments = 16 | |
export default class Arrow extends THREE.Group { | |
private material: THREE.MeshLambertMaterial; | |
constructor() { | |
super() |
This file contains hidden or 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
table { | |
background: #FFFFFF; | |
border: solid 1px #DDDDDD; | |
margin-bottom: 1.25rem; | |
table-layout: auto; } | |
table caption { | |
background: transparent; | |
color: #222222; | |
font-size: 1rem; | |
font-weight: bold; } |
This file contains hidden or 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
table { | |
background: #FFFFFF; | |
border: solid 1px #DDDDDD; | |
margin-bottom: 1.25rem; | |
table-layout: auto; } | |
table caption { | |
background: transparent; | |
color: #222222; | |
font-size: 1rem; | |
font-weight: bold; } |
NewerOlder