• 大小: 22KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-06
  • 语言: 其他
  • 标签: OpenGL  XCODE  

资源简介

可以直接使用Xcode打开,也可以只取代码;代码本身是跨平台的。

资源截图

代码片段和文件信息

//
//  main.cpp
//  EX3_teapot
//
//  Created by 刘东旭 on 2018/6/7.
//  Copyright © 2018年 刘东旭. All rights reserved.
//

#include 
#include 
#include 
#include 


GLenum doubleBuffer;

float rotX = 0.0 rotY = 0.0;
int teaList;

long patchData[][16] = {
    {102103104105456789101112131415}
    {12131415161718192021222324252627}
    {24252627293031323334353637383940}
    {969696969798991001011011011010123}
    {0123106107108109110111112113114115116117}
    {11811811811812412211912112312612512040393837}
    {41424344454647484950515253545556}
    {53545556575859606162636428656667}
    {6869707172737475767778798081

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-07 00:55  EX3_teapot\
     目录           0  2018-06-07 11:09  EX3_teapot\EX3_teapot\
     文件        7862  2018-06-07 11:09  EX3_teapot\EX3_teapot\main.cpp
     目录           0  2018-07-23 16:58  __MACOSX\
     目录           0  2018-07-23 16:58  __MACOSX\EX3_teapot\
     目录           0  2018-07-23 16:58  __MACOSX\EX3_teapot\EX3_teapot\
     文件         333  2018-06-07 11:09  __MACOSX\EX3_teapot\EX3_teapot\._main.cpp
     目录           0  2018-06-07 01:23  EX3_teapot\EX3_teapot.xcodeproj\
     文件       10271  2018-06-07 01:23  EX3_teapot\EX3_teapot.xcodeproj\project.pbxproj
     目录           0  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\xcuserdata\
     目录           0  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\xcuserdata\horizon.xcuserdatad\
     目录           0  2018-07-23 13:05  EX3_teapot\EX3_teapot.xcodeproj\xcuserdata\horizon.xcuserdatad\xcschemes\
     文件         333  2018-07-23 13:05  EX3_teapot\EX3_teapot.xcodeproj\xcuserdata\horizon.xcuserdatad\xcschemes\xcschememanagement.plist
     目录           0  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\
     文件         155  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\contents.xcworkspacedata
     目录           0  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\xcuserdata\
     目录           0  2018-06-18 23:54  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\xcuserdata\horizon.xcuserdatad\
     文件       19064  2018-06-18 23:54  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\xcuserdata\horizon.xcuserdatad\UserInterfaceState.xcuserstate
     目录           0  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\xcshareddata\
     文件         238  2018-06-07 00:55  EX3_teapot\EX3_teapot.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist
     目录           0  2018-07-23 16:58  __MACOSX\EX3_teapot\EX3_teapot.xcodeproj\
     文件         176  2018-06-07 00:55  __MACOSX\EX3_teapot\EX3_teapot.xcodeproj\._project.xcworkspace
     文件         208  2018-06-07 01:23  __MACOSX\EX3_teapot\._EX3_teapot.xcodeproj

评论

共有 条评论