added new picture to readme

This commit is contained in:
0x01FE 2025-11-18 19:54:51 -06:00
parent 2d30ce1cb9
commit fc4960f25d
3 changed files with 7 additions and 1 deletions

BIN
.attachments/physics.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -41,3 +41,9 @@ When placing a block, the program now raycasts to place where the camera is look
It took me a couple of days to fix the ray casting. I forgot that my mesh is offset by 0.5, so 3/4 raycasts looked at least a block off of what the camera was looking at.
![Hello, written in blocks on a dirt plane](.attachments/fixed-raycast.png)
## 0.7.0 : Physics - 11/18/25
Woah! The camera doesn't just phase through placed blocks anymore! The camera can also fall into the void for eternity! So cool!
![The camera, sitting atop a built platform, overlooking another "Hi" built from stone](.attachments/physics.png)

View File

@ -269,7 +269,7 @@ int main() {
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
// 2. --- Create a Window ---
GLFWwindow* window = glfwCreateWindow(SCR_WIDTH, SCR_HEIGHT, "Voxel Engine 0.6.1", NULL, NULL);
GLFWwindow* window = glfwCreateWindow(SCR_WIDTH, SCR_HEIGHT, "Voxel Engine 0.7.0", NULL, NULL);
if (window == NULL) {
std::cerr << "Failed to create GLFW window" << std::endl;
glfwTerminate();