fixed up comments and style guide items

This commit is contained in:
ZappoMan 2013-11-01 14:39:55 -07:00
parent 6fd3c9714f
commit 56aafabacd
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
// PointShader.cpp // PointShader.cpp
// interface // interface
// //
// Created by Brad Hefta-Gaub on 9/22/13. // Created by Brad Hefta-Gaub on 10/30/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
// include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL // include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL
@ -52,7 +52,7 @@ void PointShader::end() {
_program->release(); _program->release();
} }
int PointShader::attributeLocation(const char * name) const { int PointShader::attributeLocation(const char* name) const {
if (_program) { if (_program) {
return _program->attributeLocation(name); return _program->attributeLocation(name);
} else { } else {
@ -60,7 +60,7 @@ int PointShader::attributeLocation(const char * name) const {
} }
} }
int PointShader::uniformLocation(const char * name) const { int PointShader::uniformLocation(const char* name) const {
if (_program) { if (_program) {
return _program->uniformLocation(name); return _program->uniformLocation(name);
} else { } else {

View file

@ -2,7 +2,7 @@
// PointShader.h // PointShader.h
// interface // interface
// //
// Created by Brad Hefta-Gaub on 9/23/13. // Created by Brad Hefta-Gaub on 10/30/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
// //