mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
impr: Code style improvements
This commit is contained in:
@@ -579,18 +579,18 @@ namespace hex::plugin::visualizers {
|
||||
|
||||
void draw3DVisualizer(pl::ptrn::Pattern &, pl::ptrn::IIterable &, bool shouldReset, std::span<const pl::core::Token::Literal> arguments) {
|
||||
static gl::LightSourceVectors sourceVectors(20);
|
||||
static gl::VertexArray sourceVertexArray = gl::VertexArray();
|
||||
static gl::VertexArray sourceVertexArray = {};
|
||||
static gl::LightSourceBuffers sourceBuffers(sourceVertexArray, sourceVectors);
|
||||
|
||||
static gl::VertexArray gridVertexArray = gl::VertexArray();
|
||||
static gl::VertexArray gridVertexArray = {};
|
||||
static gl::GridVectors gridVectors(9);
|
||||
static gl::GridBuffers gridBuffers(gridVertexArray, gridVectors);
|
||||
|
||||
static gl::VertexArray axesVertexArray = gl::VertexArray();
|
||||
static gl::VertexArray axesVertexArray = {};
|
||||
static gl::AxesVectors axesVectors;
|
||||
static gl::AxesBuffers axesBuffers(axesVertexArray, axesVectors);
|
||||
|
||||
static gl::VertexArray vertexArray = gl::VertexArray();
|
||||
static gl::VertexArray vertexArray = {};
|
||||
static Buffers buffers;
|
||||
static LineBuffers lineBuffers;
|
||||
|
||||
|
||||
@@ -2,13 +2,10 @@
|
||||
|
||||
#include <content/visualizer_helpers.hpp>
|
||||
|
||||
#include <implot.h>
|
||||
#include <imgui.h>
|
||||
|
||||
#include <hex/ui/imgui_imhex_extensions.h>
|
||||
|
||||
#include <content/visualizer_helpers.hpp>
|
||||
|
||||
namespace hex::plugin::visualizers {
|
||||
|
||||
void drawImageVisualizer(pl::ptrn::Pattern &, pl::ptrn::IIterable &, bool shouldReset, std::span<const pl::core::Token::Literal> arguments) {
|
||||
|
||||
Reference in New Issue
Block a user