文件名称:texture
-
所属分类:
- 标签属性:
- 上传时间:2014-03-04
-
文件大小:7.04kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
新增的第一行是#include <stdio.h> 。它允许我们对文件进行操作,为了在后面的代码中使用fopen(),我们增加了这一行。然后我们增加了三个新的浮点变量...xrot、 yrot、zrot。这些变量用来使立方体绕X、Y、Z轴旋转。最后一行GLuint texture[1]为一个纹理分配存储空间。如果您需要不止一个的纹理,应该将数字1改成您所需要的数字。
-The first line is the new# include <stdio.h>. It allows us to manipulate files, in order to use the code behind fopen (), we added this line. Then we added three new floating-point variables ... xrot, yrot, zrot. These variables are used to rotate the cube X, Y, Z axis. The last line GLuint texture [1] as a texture memory allocation. If you need more than one texture, number 1 should be changed to the number you need.
-The first line is the new# include <stdio.h>. It allows us to manipulate files, in order to use the code behind fopen (), we added this line. Then we added three new floating-point variables ... xrot, yrot, zrot. These variables are used to rotate the cube X, Y, Z axis. The last line GLuint texture [1] as a texture memory allocation. If you need more than one texture, number 1 should be changed to the number you need.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
texture.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。