#include "common.h"#include "linear.h"#include "refmap.h"#include "linear_data.cpp"Classes | |
| class | Quad2DOrd |
Defines | |
| #define | make_vert(index, x, y, val) |
| #define | read_array(array, type, n, c, what) |
| #define make_vert | ( | index, | |||
| x, | |||||
| y, | |||||
| val | ) |
{ (index) = add_vertex(); \
verts[index][0] = (x); \
verts[index][1] = (y); \
verts[index][2] = (val); }
| #define read_array | ( | array, | |||
| type, | |||||
| n, | |||||
| c, | |||||
| what | ) |
if (fread(&n, sizeof(int), 1, f) != 1) \ error("Error reading the number of " what " from %s", filename); \ lin_init_array(array, type, c, n); \ if (fread(array, sizeof(type), n, f) != n) \ error("Error reading " what " from %s", filename);
1.6.3