mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:12:46 +02:00
fixed up comments and style guide items
This commit is contained in:
parent
6fd3c9714f
commit
56aafabacd
2 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue