*/}}
فهرست منبع

Default 3d geom size change

YimingWu 1 سال پیش
والد
کامیت
e59b8e28d3
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      modelling_main.c

+ 3 - 3
modelling_main.c

@@ -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[]){