#include "camtypes.h"#include "moldenv.h"#include "pathproc.h"#include "genv.h"#include <math.h>Go to the source code of this file.
Defines | |
| #define | new CAM_DEBUG_NEW |
| #define | CHECKAGAINST(var, vdist, near) |
Functions | |
| DECLARE_SOURCE ("$Revision: 1282 $") | |
|
|
Value: { \
dx = Coords[c].x - near.x; \
dy = Coords[c].y - near.y; \
dist = (INT32)sqrt((double)((dx * dx) + (dy * dy))); \
BOOL notused = TRUE; \
for(INT32 l = 0; l < 4; l++) \
{ \
if(Corners[l] == c) \
notused = FALSE; \
} \
if(notused && (var == -1 || dist < vdist)) \
{ \
vdist = dist; \
var = c; \
} \
}
|
|
|
Definition at line 126 of file moldenv.cpp. |
|
|
|
1.4.4