mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-26 14:08:53 -05:00
renamed Geometry variable names
This commit is contained in:
@@ -8,19 +8,19 @@ namespace {
|
||||
|
||||
namespace openspace {
|
||||
|
||||
GridGeometry::GridGeometry(unsigned int xRes, unsigned int yRes, Positions usePositions, Textures useTextures, Normals useNormals)
|
||||
GridGeometry::GridGeometry(unsigned int xRes, unsigned int yRes, Positions usePositions, TextureCoordinates useTextures, Normals useNormals)
|
||||
: Geometry(CreateElements(xRes, yRes), usePositions, useTextures, useNormals)
|
||||
{
|
||||
if(_usePositions){
|
||||
setPositionData(CreatePositions(xRes, yRes));
|
||||
if(_useVertexPositions){
|
||||
setVertexPositions(CreatePositions(xRes, yRes));
|
||||
}
|
||||
|
||||
if (_useTextures) {
|
||||
setTextureData(CreateTextureCoordinates(xRes, yRes));
|
||||
if (_useTextureCoordinates) {
|
||||
setVertexTextureCoordinates(CreateTextureCoordinates(xRes, yRes));
|
||||
}
|
||||
|
||||
if (_useNormals) {
|
||||
setNormalData(CreateNormals(xRes, yRes));
|
||||
if (_useVertexNormals) {
|
||||
setVertexNormals(CreateNormals(xRes, yRes));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user