Last change
on this file since 28897 was 28897, checked in by davidb, 10 years ago |
GUI front-end to server base plus web page content
|
File size:
410 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * @author mrdoob / http://mrdoob.com/
|
---|
3 | */
|
---|
4 |
|
---|
5 | THREE.RenderableVertex = function () {
|
---|
6 |
|
---|
7 | this.position = new THREE.Vector3();
|
---|
8 | this.positionWorld = new THREE.Vector3();
|
---|
9 | this.positionScreen = new THREE.Vector4();
|
---|
10 |
|
---|
11 | this.visible = true;
|
---|
12 |
|
---|
13 | };
|
---|
14 |
|
---|
15 | THREE.RenderableVertex.prototype.copy = function ( vertex ) {
|
---|
16 |
|
---|
17 | this.positionWorld.copy( vertex.positionWorld );
|
---|
18 | this.positionScreen.copy( vertex.positionScreen );
|
---|
19 |
|
---|
20 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.