VIZ++ Class: OpenGLColoredCube

 VIZ++ Class Library  VIZ++ Samples  VIZ++ ClassTree 

Source code

/*
 * OpenGLColoredCube.h 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */


#pragma once

#include <viz++/opengl/OpenGLColoredBox.h>

namespace VIZ {
    
class OpenGLColoredCube : public OpenGLColoredBox {
  
public:
  OpenGLColoredCube(Color3<GLfloat>* colors=NULL, int numColors=0, GLfloat size=1.0f)
  :OpenGLColoredBox(colors, numColors, size, size, size)
  {
  }  
};
  
}
  
 

Last modified: 10 Feb 2017

Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.