Exemplo n.º 1
0
cSphere::cSphere(GLdouble dRadius, GLint dSlices, GLint dStacks)
{
	setRotAngle(0.0f);
	sRadius = dRadius;
	sSlices = dSlices;
	sStacks = dStacks;
}
Exemplo n.º 2
0
cStarfield::cStarfield(GLint theTextureID, glm::vec3 theFieldVolume)
{
	srand((unsigned)time(NULL));
	setRotAngle(0.0f);
	glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE, m_AliasedPointSizes);
	m_NumStars = 1000;
	m_TextureID = theTextureID;
	m_FieldVolume = theFieldVolume;
	m_StarPos = glm::vec3(0.0f, 0.0f, 0.0f);
	generateStarField();
}
Exemplo n.º 3
0
cCube::cCube()
{
	setRotAngle(0.0f);
}
Exemplo n.º 4
0
cSphere::cSphere()
{
	setRotAngle(0.0f);
}
Exemplo n.º 5
0
cPyramid::cPyramid()
{
	setRotAngle(glm::vec3(0.0f, 0.0f, 0.0f));
}