solvespace/dsc.h
Jonathan Westhues fcdf43d487 More fragments of SolveSpace work. Improve the command line window,
and add some (non-functional) menus to the graphics window. Start
to rough in some data structures to hold the sketch. No real work
yet, though.

[git-p4: depot-paths = "//depot/solvespace/": change = 1653]
2008-03-26 01:18:12 -08:00

29 lines
430 B
C++

#ifndef __DSC_H
#define __DSC_H
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef struct {
double x, y, z;
} Vector;
template <class T, class H> struct IdList {
typedef struct {
T v;
int tag;
} Elem;
Elem elem;
int elems;
int elemsAllocated;
void addAndAssignId(T *v);
void removeTagged(void);
void clear(void);
};
#endif