added new picture to readme
This commit is contained in:
parent
2d30ce1cb9
commit
fc4960f25d
BIN
.attachments/physics.png
Normal file
BIN
.attachments/physics.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
@ -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.
|
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.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## 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!
|
||||||
|
|
||||||
|

|
||||||
|
|||||||
@ -269,7 +269,7 @@ int main() {
|
|||||||
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
||||||
|
|
||||||
// 2. --- Create a Window ---
|
// 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) {
|
if (window == NULL) {
|
||||||
std::cerr << "Failed to create GLFW window" << std::endl;
|
std::cerr << "Failed to create GLFW window" << std::endl;
|
||||||
glfwTerminate();
|
glfwTerminate();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user