Removed useless comments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 3D Gravity Simulator Documentation
|
||||
# 3D Gravity Simulato
|
||||
|
||||

|
||||
|
||||
|
||||
+2
-2
@@ -13,8 +13,8 @@ Renderer::Renderer(int width, int height)
|
||||
: cameraPos(3e11f, 2e11f, 3e11f),
|
||||
cameraFront(glm::normalize(glm::vec3(0.0f) - glm::vec3(3e11f, 2e11f, 3e11f))),
|
||||
cameraUp(0.0f, 1.0f, 0.0f),
|
||||
cameraSpeed(1e9f), // Reduced speed
|
||||
mouseSensitivity(0.05f), // Reduced sensitivity
|
||||
cameraSpeed(1e9f),
|
||||
mouseSensitivity(0.05f),
|
||||
yaw(-45.0f),
|
||||
pitch(-30.0f),
|
||||
firstMouse(true),
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ private:
|
||||
GLFWwindow* window;
|
||||
void drawSphere(const glm::vec3& position, float radius);
|
||||
void createSphereMesh(float radius, int sectors, int stacks);
|
||||
void drawDebugTriangle(); // Add this line
|
||||
void drawDebugTriangle(); // Debug function to draw a triangle
|
||||
|
||||
GLuint sphereVAO, sphereVBO, sphereEBO;
|
||||
int sphereVertexCount, sphereIndexCount;
|
||||
|
||||
Reference in New Issue
Block a user