|
@@ -41,18 +41,18 @@ int RegisterEverything(){
|
|
|
laRegisterUiTemplate("panel_data", "Data", DataPanel, 0, 0,0, 0,0,20);
|
|
|
|
|
|
tnsObject* s=tnsCreateRootObject("My Root");
|
|
|
- tnsObject* o=tnsCreateLight(s,"Sun",100,100,100,1,1);
|
|
|
+ tnsObject* o=tnsCreateLight(s,"Sun",10,10,10,1,1);
|
|
|
tnsVector3d target={0,0,0}, up={0,0,1};
|
|
|
tnsLookAt(o,target,up);
|
|
|
|
|
|
- tnsObject* mo=tnsCreateMeshPlane(s,"Plane", 0,0,0, 10);
|
|
|
+ tnsObject* mo=tnsCreateMeshPlane(s,"Plane", 0,0,0, 1);
|
|
|
//tnsMeshEnterEditMode(mo);
|
|
|
//tnsMeshLeaveEditMode(mo);
|
|
|
|
|
|
//tnsCreateMeshPlane(s,"Plane", 0,0,10, 10);
|
|
|
|
|
|
s=tnsCreateRootObject("My Root 0");
|
|
|
- mo=tnsCreateMeshPlane(s,"Plane", 0,0,0, 10);
|
|
|
+ mo=tnsCreateMeshPlane(s,"Plane", 0,0,0, 1);
|
|
|
}
|
|
|
|
|
|
int main(int argc, char *argv[]){
|