
the text window every time we refresh the graphics window, because that's slow. Use classes instead of structs for everything; I don't understand the template handling for structs. And implement the IdList, which I will try to use in many places. [git-p4: depot-paths = "//depot/solvespace/": change = 1655]
24 lines
376 B
C++
24 lines
376 B
C++
#include "solvespace.h"
|
|
|
|
template IdList<Request,hRequest>;
|
|
template IdList<Entity,hEntity>;
|
|
template IdList<Point,hPoint>;
|
|
|
|
SolveSpace SS;
|
|
|
|
void SolveSpace::Init(void) {
|
|
TW.Init();
|
|
GW.Init();
|
|
|
|
req.Clear();
|
|
entity.Clear();
|
|
point.Clear();
|
|
param.Clear();
|
|
|
|
int i;
|
|
for(i = 0; i < 20; i++) {
|
|
TW.Printf("this is line number %d", i);
|
|
}
|
|
}
|
|
|