Fixes per code review

This commit is contained in:
Philip Rosedale 2013-05-07 09:59:37 -07:00
parent 3afb1dc7a8
commit 27540f1286

View file

@ -71,8 +71,7 @@ float angleBetween(glm::vec3 * v1, glm::vec3 * v2) {
}
// Draw a 3D vector floating in space
void drawVector(glm::vec3 * vector)
{
void drawVector(glm::vec3 * vector) {
glDisable(GL_LIGHTING);
glEnable(GL_POINT_SMOOTH);
glPointSize(3.0);
@ -113,8 +112,7 @@ void drawVector(glm::vec3 * vector)
}
void render_world_box()
{
void render_world_box() {
// Show edge of world
glDisable(GL_LIGHTING);
glColor4f(1.0, 1.0, 1.0, 1.0);
@ -172,8 +170,7 @@ float widthChar(float scale, int mono, char ch) {
}
void drawtext(int x, int y, float scale, float rotate, float thick, int mono,
char const* string, float r, float g, float b)
{
char const* string, float r, float g, float b) {
//
// Draws text on screen as stroked so it can be resized
//