|
| Jeffrey Blyseth |
Post
#1
|
|
Advanced Member Group: Members Posts: 55 Joined: 20-January 07 Member No.: 711 |
It
seems like a few people have been wanting a vertical plane by default
instead of a flat plane (parallel to Y axis instead of Z). Here's all
you need, copy the Plane3D class, name it what you want (don't forget
to change the class name in the file) and then change these lines:
p = new Vertex(j,0,i); id1 = aPoints.push (p) - 1; p = new Vertex(j+pasL,0,i); id2 = aPoints.push (p) - 1; p = new Vertex(j+pasL,0,i+pasH); id3 = aPoints.push (p) - 1; p = new Vertex(j,0,i+pasH); id4 = aPoints.push (p) - 1; To this: p = new Vertex(j,i,0); id1 = aPoints.push (p) - 1; p = new Vertex(j+pasL,i,0); id2 = aPoints.push (p) - 1; p = new Vertex(j+pasL,i+pasH,0); id3 = aPoints.push (p) - 1; p = new Vertex(j,i+pasH,0); id4 = aPoints.push (p) - 1; (IMG:style_emoticons/default/smile.gif) This post has been edited by Jeffrey Blyseth: Feb 23 2007, 03:49 AM |
| kiroukou |
Post
#2
|
|
Administrator Group: Root Admin Posts: 910 Joined: 12-June 06 Member No.: 1 |
hehe thanks !
|
| Lo-Fi Version | Time is now: 10th August 2007 - 05:10 AM |