Exemplo n.º 1
0
 //length inherited from Prism
 public CircularPrism(Scientrace.Object3dCollection parent, Scientrace.MaterialProperties mprops, Scientrace.Location loc, Scientrace.NonzeroVector width, Scientrace.NonzeroVector height, Scientrace.NonzeroVector length) : base(parent, mprops)
 {
     this.loc    = loc;
     this.width  = width;
     this.height = (height.tryToUnitVector()) * width.length;
     this.length = length;
 }