Skip to content

Commit 0929b24

Browse files
committed
准备新的demo
1 parent 1542343 commit 0929b24

File tree

6 files changed

+1
-2
lines changed

6 files changed

+1
-2
lines changed

Tutorial01-GLKit/LearnOpenGLES/ViewController.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ @interface ViewController ()
1919
@implementation ViewController
2020
{
2121
}
22+
2223
- (void)viewDidLoad {
2324
[super viewDidLoad];
2425

@@ -63,8 +64,6 @@ - (void)viewDidLoad {
6364

6465
glEnableVertexAttribArray(GLKVertexAttribPosition); //顶点数据缓存
6566
glVertexAttribPointer(GLKVertexAttribPosition, 3, GL_FLOAT, GL_FALSE, sizeof(GLfloat) * 5, (GLfloat *)NULL + 0);
66-
67-
6867
glEnableVertexAttribArray(GLKVertexAttribTexCoord0); //纹理
6968
glVertexAttribPointer(GLKVertexAttribTexCoord0, 2, GL_FLOAT, GL_FALSE, sizeof(GLfloat) * 5, (GLfloat *)NULL + 3);
7069

Tutorial03-三维变换/.DS_Store

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)