Fix number of parameters in EllipticCone

This commit is contained in:
Matthias Hochsteger 2019-09-11 15:10:21 +02:00
parent 390ab5f4b9
commit 9510670140

View File

@ -1540,7 +1540,7 @@ Primitive * EllipticCone :: CreateDefault ()
void EllipticCone :: GetPrimitiveData (const char *& classname, NgArray<double> & coeffs) const void EllipticCone :: GetPrimitiveData (const char *& classname, NgArray<double> & coeffs) const
{ {
classname = "ellipticcone"; classname = "ellipticcone";
coeffs.SetSize (15); coeffs.SetSize (11);
coeffs.Elem(1) = a(0); coeffs.Elem(1) = a(0);
coeffs.Elem(2) = a(1); coeffs.Elem(2) = a(1);
coeffs.Elem(3) = a(2); coeffs.Elem(3) = a(2);