文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.