ywywdh / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

Curved 3d lines #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Somewhere in the implementation of the Line3D class the added control
vertex should be copied to the renderCommand variable.

public function addControlVertex(cx:Number, cy:Number, cz:Number) :void
{
    cV = new Vertex3D(cx,cy,cz);

//like this
this.renderCommand.cV = cV.vertex3DInstance;

    if(instance.geometry.vertices.indexOf(cV) == -1){
        instance.geometry.vertices.push(cV);
    }       
}

In other cases vertex1 will be used in the calculations.

Original issue reported on code.google.com by intonaru...@gmail.com on 27 Nov 2008 at 4:13

GoogleCodeExporter commented 9 years ago
seb ? 

Original comment by r.hauw...@gmail.com on 1 Dec 2008 at 4:03

GoogleCodeExporter commented 9 years ago
I'll take a look as soon as I get a spare moment. :-)

Original comment by sebsta...@gmail.com on 1 Dec 2008 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by sebsta...@gmail.com on 10 Dec 2008 at 12:02