len3d

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
static const GLfloat disk_vertex_buffer_data[] = {
    // quarter 1
    0.0f, 0.0f, -1.0f, 
    0.707f, 0.0f, -0.707f, 
    0.612f, 0.354f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    0.612f, 0.354f, -0.707f, 
    0.354f, 0.612f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    0.354f, 0.612f, -0.707f, 
    0.0f, 0.707f, -0.707f, 

    0.707f, 0.0f, -0.707f, 
    1.0, 0.0f, 0.0f, 
    0.866f, 0.5f, 0.0f, 

    0.612f, 0.354f, -0.707f, 
    0.707f, 0.0f, -0.707f, 
    0.866f, 0.5f, 0.0f, 

    0.612f, 0.354f, -0.707f, 
    0.866f, 0.5f, 0.0f, 
    0.5f, 0.866f, 0.0f, 

    0.354f, 0.612f, -0.707f, 
    0.612f, 0.354f, -0.707f, 
    0.5f, 0.866f, 0.0f, 

    0.354f, 0.612f, -0.707f, 
    0.5f, 0.866f, 0.0f, 
    0.0f, 1.0f, 0.0f, 

    0.0f, 0.707f, -0.707f, 
    0.354f, 0.612f, -0.707f, 
    0.0f, 1.0f, 0.0f, 

    // quarter 2
    0.0f, 0.0f, -1.0f, 
    0.0f, 0.707f, -0.707f, 
    -0.354f, 0.612f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    -0.354f, 0.612f, -0.707f, 
    -0.612f, 0.354f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    -0.612f, 0.354f, -0.707f, 
    -0.707f, 0.0f, -0.707f, 

    0.0f, 0.707f, -0.707f, 
    0.0f, 1.0f, 0.0f, 
    -0.5f, 0.866f, 0.0f, 

    -0.354f, 0.612f, -0.707f, 
    0.0f, 0.707f, -0.707f, 
    -0.5f, 0.866f, 0.0f, 
    
    -0.354f, 0.612f, -0.707f, 
    -0.5f, 0.866f, 0.0f, 
    -0.866f, 0.5f, 0.0f, 

    -0.612f, 0.354f, -0.707f, 
    -0.354f, 0.612f, -0.707f, 
    -0.866f, 0.5f, 0.0f, 

    -0.612f, 0.354f, -0.707f, 
    -0.866f, 0.5f, 0.0f, 
    -1.0f, 0.0f, 0.0f, 

    -0.707f, 0.0f, -0.707f, 
    -0.612f, 0.354f, -0.707f, 
    -1.0f, 0.0f, 0.0f, 

    // quarter 3
    0.0f, 0.0f, -1.0f, 
    -0.707f, 0.0f, -0.707f, 
    -0.612f, -0.354f, -0.707f, 
    
    0.0f, 0.0f, -1.0f, 
    -0.866f, -0.354f, -0.707f, 
    -0.354f, -0.612f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    -0.354f, -0.612f, -0.707f, 
    0.0f, -0.707f, -0.707f, 

    -0.707f, 0.0f, -0.707f, 
    -1.0f, 0.0f, 0.0f, 
    -0.866f, -0.5f, 0.0f, 

    -0.612f, -0.354f, -0.707f, 
    -0.707f, 0.0f, -0.707f, 
    -0.866f, -0.5f, 0.0f, 

    -0.612f, -0.354f, -0.707f, 
    -0.866f, -0.5f, 0.0f, 
    -0.5f, -0.866f, 0.0f, 

    -0.354f, -0.612f, -0.707f, 
    -0.612f, -0.354f, -0.707f, 
    -0.5f, -0.866f, 0.0f, 

    -0.354f, -0.612f, -0.707f, 
    -0.5f, -0.866f, 0.0f, 
    0.0f, -1.0f, 0.0f, 

    0.0f, -0.707f, -0.707f, 
    -0.354f, -0.612f, -0.707f, 
    0.0f, -1.0f, 0.0f, 

    // quarter 4
    0.0f, 0.0f, -1.0f, 
    0.0f, -0.707f, -0.707f, 
    0.354f, -0.612f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    0.354f, -0.612f, -0.707f, 
    0.612f, -0.354f, -0.707f, 

    0.0f, 0.0f, -1.0f, 
    0.612f, -0.354f, -0.707f, 
    0.707f, 0.0f, -0.707f, 

    0.0f, -0.707f, -0.707f, 
    0.0f, -1.0f, 0.0f, 
    0.5f, -0.866f, 0.0f, 

    0.354f, -0.612f, -0.707f, 
    0.0f, -0.707f, -0.707f, 
    0.5f, -0.866f, 0.0f, 

    0.354f, -0.612f, -0.707f, 
    0.5f, -0.866f, 0.0f, 
    0.866f, -0.5f, 0.0f, 

    0.612f, -0.354f, -0.707f, 
    0.354f, -0.612f, -0.707f, 
    0.866f, -0.5f, 0.0f, 

    0.612f, -0.354f, -0.707f, 
    0.866f, -0.5f, 0.0f, 
    1.0f, 0.0f, 0.0f, 

    0.707f, 0.0f, -0.707f, 
    0.612f, -0.354f, -0.707f, 
    1.0f, 0.0f, 0.0f, 
};

 

posted on 2018-03-11 21:55  Len3d  阅读(352)  评论(0编辑  收藏  举报