代码搜索:cube
找到约 2,811 项符合「cube」的源代码
代码结果 2,811
www.eeworm.com/read/426757/9001260
h cube.h
#ifndef CUBE_H
#define CUBE_H
#include
class Cube : public QGLWidget
{
public:
Cube(QWidget *parent = 0, const char *name = 0);
protected:
void initializeGL();
void resizeGL(int
www.eeworm.com/read/381293/9099454
aps cube.aps
www.eeworm.com/read/381293/9099457
suo cube.suo
www.eeworm.com/read/381293/9099465
sln cube.sln
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cube", "cube.vcproj", "{02CC9D95-8D7C-4F85-856F-5818D76A8A9A}"
ProjectSection(Project
www.eeworm.com/read/381293/9099466
ncb cube.ncb
www.eeworm.com/read/381293/9099469
rc cube.rc
// Microsoft Visual C++ 生成的资源脚本。
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// 从 TEXTINCLUDE 2
www.eeworm.com/read/184417/9101420
h cube.h
//Cube.h
#ifndef CUBE_H
#define CUBE_H
#include "Geometry.h"
class Cube:public Geometry
{
public:
Cube(){};
Cube(float, float, float);
void SetValue(Enum PName, float v);
void Render();
p
www.eeworm.com/read/184417/9101485
cc cube.cc
//Cube.cc
#include "Cube.h"
Cube::Cube(float w, float h, float d)
{
Width=w;
Height=h;
Depth=d;
}
void
Cube::SetValue(Enum PName, float v)
{
switch(PName)
{
case WIDTH:
Width=
www.eeworm.com/read/184417/9101531
c cube.c
/* cube.c */
/* Rotating cube with color interpolation */
/* E. Angel, Interactive Computer Graphics */
/* A Top-Down Approach with OpenGL, Third Edition */
/* Addison-Wesley Longman, 2