DarkRadiant: master 1db3e735
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 09.03.2021 20:10 | master 07a10bbf |
Changeset | Colour4 stores floats rather than doubles Using doubles in vectors may be necessary for accuracy when storing brush and patch geometry, but using doubles just to store OpenGL colours is a waste of bytes. Also add some tests for Vector3 and Vector3f packing, ensuring that the values are contiguous and can be passed to functions like glUniform3fv(). |
|||
mod - libs/debugging/render.h | Diff File | |||
mod - libs/render/Colour4.h | Diff File | |||
mod - radiant/xyview/tools/MeasurementTool.cpp | Diff File | |||
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp | Diff File | |||
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp | Diff File | |||
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp | Diff File | |||
mod - test/math/Vector3.cpp | Diff File |