Azone utility bug: Faces that intersect a node but have no vertices in that node
I've run across a couple of small bugs in the azone utility which
means that some faces which intersect a node, but don't have any vertices in that node, will not be included in the facelist for that node. E.g. in the case shown in this picture: http://www.rama.demon.co.uk/nodeface.png The first bug is in one of the GPoint constructors: azone.cpp, Line 1155: Change: Code:
GPoint::GPoint(float x, float y, float z) { Code:
GPoint::GPoint(float nx, float ny, float nz) { example of two lines which intersect. http://www.rama.demon.co.uk/lines_cross.png The following code illustrates the bug, it returns FALSE: Code:
GPoint p1(100,100,0), p2(100,300,0); azone.cpp, Line 868: from Code:
#define CoordOnLine(p1, p2, coord, dim) \ Code:
#define CoordOnLine(p1, p2, coord, dim) \ |
All times are GMT -4. The time now is 03:29 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.