voxelcore/src/graphics/core
ostermine ad69663b2e use double precision for camera position and ray casts
A float position has a step of 6 cm at 1M blocks and of 2 m at 30M:
the camera moved by jumps and rays started not where the camera is.

worldvec3 (glm::dvec3) is the type of a position in the world.
Camera::position, the start and the end of block and entity ray casts
and the hit position of the player selection use it. Lua numbers are
doubles already, so cameras.set_pos/get_pos, block.raycast,
entities.raycast and world.raycast only stop rounding to float.
Entities::rayCast intersects a hitbox in the coordinates relative to
its position instead of a float AABB in the world space.
2026-11-12 10:05:06 +03:00
..
Atlas.cpp rename ImageFormat enum items 2025-12-21 19:05:14 +03:00
Atlas.hpp feat: canvas from texture atlas element 2025-11-05 00:20:58 +03:00
Batch2D.cpp fix graphics settings & reduce extra GL calls 2026-07-14 19:03:32 +03:00
Batch2D.hpp feat: selectbox options context menu 2025-06-27 22:50:47 +03:00
Batch3D.cpp fix graphics settings & reduce extra GL calls 2026-07-14 19:03:32 +03:00
Batch3D.hpp add 'modelviewer' ui element 2025-05-24 19:28:24 +03:00
commons.hpp feat: entity translucent pass & test layered transparency pipeline 2026-10-16 22:20:59 +03:00
Cubemap.cpp test environment (sky) 2026-05-12 02:02:06 +03:00
Cubemap.hpp test environment (sky) 2026-05-12 02:02:06 +03:00
DrawContext.cpp feat: entity translucent pass & test layered transparency pipeline 2026-10-16 22:20:59 +03:00
DrawContext.hpp move some code there and here 2026-05-12 18:41:14 +03:00
Font.cpp fix text width and caret positioning in text boxes 2026-09-29 20:31:14 +07:00
Font.hpp fix text width and caret positioning in text boxes 2026-09-29 20:31:14 +07:00
FontMetics.hpp fix: missing font usage produces fatal error 2026-07-22 22:48:16 +03:00
FontMetrics.cpp feat: non-monospaced fonts support 2026-02-15 23:48:10 +03:00
Framebuffer.cpp add 'frame' argument to gui.screenshot 2026-09-17 22:07:18 +03:00
Framebuffer.hpp add 'frame' argument to gui.screenshot 2026-09-17 22:07:18 +03:00
GBuffer.cpp Merge branch 'main' into dev 2026-10-16 01:30:13 +03:00
GBuffer.hpp Merge branch 'main' into dev 2026-10-16 01:30:13 +03:00
gl_util.hpp rename ImageFormat enum items 2025-12-21 19:05:14 +03:00
ImageData.cpp fix canvas:line lines clipping 2026-07-18 13:25:04 +03:00
ImageData.hpp rename ImageFormat enum items 2025-12-21 19:05:14 +03:00
InstanceBuffer.hpp gpu instanced entities renderer 2026-10-18 12:44:37 +02:00
InstanceBuffer.inl gpu instanced entities renderer 2026-10-18 12:44:37 +02:00
LineBatch.cpp fix graphics settings & reduce extra GL calls 2026-07-14 19:03:32 +03:00
LineBatch.hpp remove GLEW from MeshData.hpp & format Mesh.inl 2025-04-27 00:35:54 +03:00
Mesh.cpp add vertices count to debug panel 2026-11-01 01:30:39 +03:00
Mesh.hpp Merge branch 'main' into dev 2026-11-01 02:03:50 +03:00
Mesh.inl add MeshStats vertices count to Mesh::drawInstanced 2026-11-01 02:05:27 +03:00
MeshData.hpp gpu instanced entities renderer 2026-10-18 12:44:37 +02:00
PaletteAtlasBuilder.cpp add PaletteAtlasBuilder 2025-12-21 19:08:23 +03:00
PaletteAtlasBuilder.hpp fix windows build 2025-12-21 19:25:45 +03:00
PostEffect.cpp feat: deferred shading (day 2) 2025-07-08 23:56:22 +03:00
PostEffect.hpp feat: deferred shading (day 2) 2025-07-08 23:56:22 +03:00
PostProcessing.cpp render the world relative to an origin near the camera 2026-11-12 10:05:06 +03:00
PostProcessing.hpp Merge branch 'main' into dev 2026-10-16 01:30:13 +03:00
Shader.cpp oh 2026-10-10 16:50:44 +03:00
Shader.hpp add 'do-trace-shaders' setting and fix shaders recompiling 2025-08-31 18:14:05 +03:00
Shadows.cpp use double precision for camera position and ray casts 2026-11-12 10:05:06 +03:00
Shadows.hpp render the world relative to an origin near the camera 2026-11-12 10:05:06 +03:00
Texture.cpp fix Texture::reload 2026-08-22 17:39:01 +03:00
Texture.hpp move some code there and here 2026-05-12 18:41:14 +03:00
TextureAnimation.cpp fix zero frames texture animation fatal error 2025-09-29 12:18:24 +03:00
TextureAnimation.hpp replace include guards with pragma once 2024-08-10 01:57:59 +03:00
TranslucentLayers.cpp feat: entity translucent pass & test layered transparency pipeline 2026-10-16 22:20:59 +03:00
TranslucentLayers.hpp feat: entity translucent pass & test layered transparency pipeline 2026-10-16 22:20:59 +03:00