updated comments.

This commit is contained in:
hyzboy 2024-03-12 22:31:58 +08:00
parent 86c3b65a42
commit 9d704eb33d
3 changed files with 5 additions and 5 deletions

2
CMCore

@ -1 +1 @@
Subproject commit 15baf1ecbde9ab8a3e299f8cc6dc02231f994917 Subproject commit a29a35eceaa9bc19f3e4a64ebebec0a2f6bd081f

@ -1 +1 @@
Subproject commit 6d9ea2f340cde0ced8d5990d7d45b185fb16b929 Subproject commit 4d5558b3d0240caa2076f59aab1e023147546bf9

View File

@ -20,8 +20,8 @@ static Color4f white_color(1,1,1,1);
static mtl::blinnphong::SunLight sun_light= static mtl::blinnphong::SunLight sun_light=
{ {
Vector4f(0,0,1,0), Vector4f(1,1,1,0), //direction
Vector4f(1,0.95,0.9,1) Vector4f(1,0.95,0.9,1) //color
}; };
class TestApp:public SceneAppFramework class TestApp:public SceneAppFramework
@ -148,7 +148,7 @@ private:
Add(prim_plane_grid,mi_plane_grid,p_line); Add(prim_plane_grid,mi_plane_grid,p_line);
Add(prim_sphere,mi_sphere,p_sphere); Add(prim_sphere,mi_sphere,p_sphere);
camera->pos=Vector3f(32,15,32); camera->pos=Vector3f(32,32,32);
camera_control->SetTarget(Vector3f(0,0,0)); camera_control->SetTarget(Vector3f(0,0,0));
camera_control->Refresh(); camera_control->Refresh();