Browse Source

Update Camera.cpp

Daniele Bartolini 13 năm trước cách đây
mục cha
commit
e32098139e
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/Camera.cpp

+ 2 - 2
src/Camera.cpp

@@ -154,8 +154,8 @@ const Frustum& Camera::GetFrustum() const
 
 
 void Camera::Render()
 void Camera::Render()
 {
 {
-	GetDevice()->GetRenderer()->SetMatrix(MT_PROJECTION, mProjection);
-	GetDevice()->GetRenderer()->SetMatrix(MT_VIEW, mView);
+	GetDevice()->GetRenderer()->set_matrix(MT_PROJECTION, mProjection);
+	GetDevice()->GetRenderer()->set_matrix(MT_VIEW, mView);
 }
 }
 
 
 void Camera::UpdateProjectionMatrix()
 void Camera::UpdateProjectionMatrix()