It likes to complain about a lot of things. Some of them make sense (like
unused private members), but mostly it's just being a bitch.
const float DesertPillars::cube_shapes[] = { -0.4, 0.5, 1.0, 0.3 };
const float DesertPillars::cube_shapes[] = { -0.4, 0.5, 1.0, 0.3 };
-DesertPillars::Options::Options(const Graphics::Display &display, int argc, char **argv)
+DesertPillars::Options::Options(const Graphics::Display &dpy, int argc, char **argv)
{
GetOpt getopt;
getopt.add_option('f', "fullscreen", window_opts.fullscreen, GetOpt::NO_ARG).set_help("Run in fullscreen mode");
{
GetOpt getopt;
getopt.add_option('f', "fullscreen", window_opts.fullscreen, GetOpt::NO_ARG).set_help("Run in fullscreen mode");
if(window_opts.fullscreen)
{
if(window_opts.fullscreen)
{
- const Graphics::VideoMode &mode = display.get_desktop_mode();
+ const Graphics::VideoMode &mode = dpy.get_desktop_mode();
window_opts.width = mode.width;
window_opts.height = mode.height;
}
window_opts.width = mode.width;
window_opts.height = mode.height;
}
add("advance", &Glyph::advance);
}
add("advance", &Glyph::advance);
}
-void Font::Glyph::Loader::texcoords(float x1, float y1, float x2, float y2)
+void Font::Glyph::Loader::texcoords(float x1_, float y1_, float x2_, float y2_)
- obj.x1 = x1;
- obj.y1 = y1;
- obj.x2 = x2;
- obj.y2 = y2;
+ obj.x1 = x1_;
+ obj.y1 = y1_;
+ obj.x2 = x2_;
+ obj.y2 = y2_;
Vector3 binorm;
unsigned u_div;
unsigned v_div;
Vector3 binorm;
unsigned u_div;
unsigned v_div;
- float u_origin;
- float y_origin;
public:
GridBuilder(float, float, unsigned = 4, unsigned = 4);
public:
GridBuilder(float, float, unsigned = 4, unsigned = 4);
namespace GL {
class Buffer;
namespace GL {
class Buffer;
class Matrix;
class Uniform;
class UniformBlock;
class Matrix;
class Uniform;
class UniformBlock;
/**
Stores uniform variables for shader programs. The uniforms are stored in a
/**
Stores uniform variables for shader programs. The uniforms are stored in a
#ifndef MSP_GL_SCENE_H_
#define MSP_GL_SCENE_H_
#ifndef MSP_GL_SCENE_H_
#define MSP_GL_SCENE_H_
#include "renderable.h"
namespace Msp {
#include "renderable.h"
namespace Msp {
namespace GL {
class BufferRange;
namespace GL {
class BufferRange;
class Matrix;
class Uniform;
class Matrix;
class Uniform;
/**
Stores uniforms with a specific layout. Both named and default uniform blocks
/**
Stores uniforms with a specific layout. Both named and default uniform blocks