Opened 8 years ago

Last modified 6 years ago

#42 closed defect

ModelGeometry division by 0.0 for a single ellipsoid shape — at Initial Version

Reported by: Maciej Komosinski Owned by:
Priority: major Milestone:
Component: Framsticks core Version:
Keywords: Cc:


For the following structure/genotype:


in externalAreaOfSurface(), in the second iteration of

	while (surface.tryGetNext(point))

In function

void MeshBuilder::EllipsoidSurface::findNextAreaEdgeAndPhase()

There is div by 0.0 (invalid FP operation) because edge.x and edge.z are 0.0:

limit.z = edge.z*edge.z / sqrt(edge.x*edge.x + edge.z*edge.z);

Change History (0)

Note: See TracTickets for help on using tickets.