亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? drawstuff.h

?? 坦克的車輛動態特性模擬
?? H
字號:
/************************************************************************* *                                                                       * * Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith.       * * All rights reserved.  Email: russ@q12.org   Web: www.q12.org          * *                                                                       * * This library is free software; you can redistribute it and/or         * * modify it under the terms of EITHER:                                  * *   (1) The GNU Lesser General Public License as published by the Free  * *       Software Foundation; either version 2.1 of the License, or (at  * *       your option) any later version. The text of the GNU Lesser      * *       General Public License is included with this library in the     * *       file LICENSE.TXT.                                               * *   (2) The BSD-style license that is included with this library in     * *       the file LICENSE-BSD.TXT.                                       * *                                                                       * * This library is distributed in the hope that it will be useful,       * * but WITHOUT ANY WARRANTY; without even the implied warranty of        * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files    * * LICENSE.TXT and LICENSE-BSD.TXT for more details.                     * *                                                                       * *************************************************************************//*Draw Stuff----------this is a library for rendering simple 3D objects in a virtual environment.NOTES-----in the virtual world, the z axis is "up" and z=0 is the floor.the user is able to click+drag in the main window to move the camera:  * left button - pan and tilt.  * right button - forward and sideways.  * left + right button (or middle button) - sideways and up.*/#ifndef __DRAWSTUFF_H__#define __DRAWSTUFF_H__#ifdef __cplusplusextern "C" {#endif#include <drawstuff/version.h>/* texture numbers */#define DS_NONE   0	/* uses the current color instead of a texture */#define DS_WOOD   1
#define DS_BODY   1
#define DS_WHEEL  1
typedef struct dsFunctions {  int version;			/* put DS_VERSION here */  /* version 1 data */  void (*start)();		/* called before sim loop starts */  void (*step) (int pause);	/* called before every frame */  void (*command) (int cmd);	/* called if a command key is pressed */  void (*stop)();		/* called after sim loop exits */  /* version 2 data */  char *path_to_textures;	/* if nonzero, path to texture files */} dsFunctions;/* the main() function should fill in the dsFunctions structure then * call this. */void dsSimulationLoop (int argc, char **argv,		       int window_width, int window_height,		       struct dsFunctions *fn);/* these functions display an error message then exit. they take arguments * in the same way as printf(), except you do not have to add a terminating * '\n'. Debug() tries to dump core or start the debugger. */void dsError (char *msg, ...);void dsDebug (char *msg, ...);/* dsPrint() prints out a message. it takes arguments in the same way as * printf() (i.e. you must add a '\n' at the end of every line). */void dsPrint (char *msg, ...);/* set and get the camera position. xyz is the cameria position (x,y,z). * hpr contains heading, pitch and roll numbers in degrees. heading=0 * points along the x axis, pitch=0 is looking towards the horizon, and * roll 0 is "unrotated". */void dsSetViewpoint (float xyz[3], float hpr[3]);void dsGetViewpoint (float xyz[3], float hpr[3]);/* stop the simulation loop. calling this from within dsSimulationLoop() * will cause it to exit and return to the caller. it is the same as if the * user used the exit command. using this outside the loop will have no * effect. */void dsStop();/* change the way objects are drawn. these changes will apply to all further * dsDrawXXX() functions. the texture number must be a DS_xxx texture * constant. the red, green, and blue number are between 0 and 1. * alpha is between 0 and 1 - if alpha is not specified it's assubed to be 1. * the current texture is colored according to the current color. * at the start of each frame, the texture is reset to none and the color is * reset to white. */void dsSetTexture (int texture_number);void dsSetColor (float red, float green, float blue);void dsSetColorAlpha (float red, float green, float blue, float alpha);/* draw objects. *   - pos[] is the x,y,z of the center of the object. *   - R[] is a 3x3 rotation matrix for the object, stored by row like this: *        [ R11 R12 R13 0 ] *        [ R21 R22 R23 0 ] *        [ R31 R32 R33 0 ] *   - sides[] is an array of x,y,z side lengths. *   - all cylinders are aligned along the z axis. */void dsDrawBox (const float pos[3], const float R[12],float sides[3]);
void dsDrawPlate (const float pos[3], const float R[12], const float sides[3]);
void dsDrawTankBody (const float pos[3], const float R[12],float sides[3]);
void dsDrawTankSideCovers (const float pos[3], const float R[12], const float sides[3]);
void dsDrawTurret (const float pos[3], const float R[12],float sides[3]);
void dsDrawChainPlateH (const float pos[3], const float R[12], const float sides[3]);
void dsDrawChainPlateG (const float pos[3], const float R[12], const float sides[3]);void dsDrawSphere (const float pos[3], const float R[12], float radius);void dsDrawTriangle (const float pos[3], const float R[12],		     const float *v0, const float *v1, const float *v2, int solid);void dsDrawCylinder (const float pos[3], const float R[12],float length, float radius);
void dsDrawSprocketWheel (const float pos[3], const float R[12],float length, float radius,int n);void dsDrawCappedCylinder (const float pos[3], const float R[12],float length, float radius);void dsDrawLine (const float pos1[3], const float pos2[3]);/* these drawing functions are identical to the ones above, except they take * double arrays for `pos' and `R'. */void dsDrawBoxD (const double pos[3], const double R[12], double sides[3]);
void dsDrawPlateD (const double pos[3], const double R[12],const double sides[3]);
void dsDrawTankBodyD (const double pos[3], const double R[12],double sides[3]);
void dsDrawTurretD (const double pos[3], const double R[12],double sides[3]);
void dsDrawChainPlateHD (const double pos[3], const double R[12],const double sides[3]);
void dsDrawChainPlateGD (const double pos[3], const double R[12],const double sides[3]);void dsDrawSphereD (const double pos[3], const double R[12],const float radius);void dsDrawTriangleD (const double pos[3], const double R[12],const double *v0, const double *v1, const double *v2, int solid);void dsDrawCylinderD (const double pos[3], const double R[12],float length, float radius);void dsDrawCappedCylinderD (const double pos[3], const double R[12],float length, float radius);void dsDrawLineD (const double pos1[3], const double pos2[3]);/* Set the drawn quality of the objects. Higher numbers are higher quality, * but slower to draw. This must be set before the first objects are drawn to * be effective. */void dsSetSphereQuality (int n);		/* default = 1 */void dsSetCappedCylinderQuality (int n);	/* default = 3 */void dsMotion (int mode, int deltax, int deltay);/* closing bracket for extern "C" */#ifdef __cplusplus}#endif#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产综合久久小美女| 激情国产一区二区| 国产精品人妖ts系列视频| 91麻豆精品国产91久久久更新时间| 91免费在线看| 色婷婷综合久久久久中文一区二区| 91久久精品一区二区| 成人精品小蝌蚪| 99久久精品免费看| 91浏览器打开| 欧美军同video69gay| 91精品国模一区二区三区| 日韩一级成人av| 久久久久国色av免费看影院| 国产日韩精品一区二区三区在线| 久久久久久久久97黄色工厂| 中文字幕巨乱亚洲| 伊人开心综合网| 美女精品自拍一二三四| 精品一区二区三区的国产在线播放| 久久精品国产亚洲5555| 国产剧情av麻豆香蕉精品| av在线不卡网| 欧美男女性生活在线直播观看 | 欧美一级在线免费| 精品国产一二三| 国产精品久久久久四虎| 亚洲精品ww久久久久久p站| 日韩va欧美va亚洲va久久| 极品尤物av久久免费看| av一区二区三区| 欧美一区二区三区视频在线| 久久夜色精品国产噜噜av| 国产精品不卡一区二区三区| 午夜精品福利一区二区三区av| 奇米一区二区三区av| 国产99精品国产| 欧美二区三区91| 亚洲国产成人自拍| 青青草成人在线观看| www.亚洲人| 日韩精品自拍偷拍| 亚洲免费资源在线播放| 国产在线观看一区二区| 欧美在线不卡一区| 中文幕一区二区三区久久蜜桃| 亚洲成人资源在线| 欧美日本国产一区| 亚洲欧美日韩国产手机在线| 久久99久久99| 欧美日韩免费一区二区三区| 国产日本欧美一区二区| 日日摸夜夜添夜夜添亚洲女人| 国产精品亚洲一区二区三区在线 | 久久亚洲捆绑美女| 亚洲一区二区三区四区的| 丁香激情综合五月| 精品少妇一区二区三区在线视频| 亚洲理论在线观看| 成人av在线资源网| 国产亚洲视频系列| 黄色精品一二区| 欧美mv和日韩mv的网站| 人人狠狠综合久久亚洲| 欧美三级三级三级| 亚洲一二三四久久| 欧美影院午夜播放| 一区二区三区不卡视频在线观看| 成人精品高清在线| 国产精品三级电影| 成人综合激情网| 中文一区在线播放| 国产传媒欧美日韩成人| 国产亚洲一区字幕| 成人午夜免费av| 日本一区二区高清| 不卡免费追剧大全电视剧网站| 国产欧美视频一区二区| 国产成人免费视频精品含羞草妖精| 精品处破学生在线二十三| 久久se这里有精品| 久久久天堂av| 成人黄色综合网站| 亚洲欧美成aⅴ人在线观看| 91小视频免费观看| 亚洲激情图片一区| 欧美日韩性生活| 美女视频免费一区| 2014亚洲片线观看视频免费| 国产又粗又猛又爽又黄91精品| www成人在线观看| 成人国产视频在线观看| 亚洲理论在线观看| 4438成人网| 国产另类ts人妖一区二区| 中文字幕av不卡| 在线免费观看日本欧美| 日韩极品在线观看| 亚洲精品一区二区三区香蕉| 国产成人欧美日韩在线电影| 国产精品夫妻自拍| 欧美日韩国产综合视频在线观看| 日本vs亚洲vs韩国一区三区二区 | 国产欧美日韩综合| 色综合久久天天| 午夜av电影一区| 日本一区二区三区四区在线视频 | 91精品国产91综合久久蜜臀| 成人av免费在线观看| 亚洲另类春色校园小说| 日韩午夜av电影| av在线综合网| 久久66热re国产| 自拍偷拍亚洲欧美日韩| 欧美一区二区成人| 91视频com| 国产在线播放一区三区四| 亚洲欧美日韩国产综合| 日韩一级欧美一级| 色综合天天综合色综合av| 六月丁香婷婷色狠狠久久| 亚洲丝袜美腿综合| 亚洲精品一区二区三区蜜桃下载 | 国产精品18久久久久| 一区二区三区四区蜜桃| 久久夜色精品国产噜噜av| 欧美主播一区二区三区美女| 国产精品一区二区你懂的| 日日欢夜夜爽一区| 日韩美女久久久| 精品88久久久久88久久久| 欧美日韩三级在线| 91久久久免费一区二区| 国产精品123| 韩国三级电影一区二区| 舔着乳尖日韩一区| 一区二区激情视频| 中文字幕在线不卡| 国产日产欧美一区| 久久无码av三级| 欧美成人国产一区二区| 欧美日韩一区三区| 在线精品视频免费播放| 99精品欧美一区二区蜜桃免费| 韩国成人精品a∨在线观看| 婷婷六月综合亚洲| 亚洲高清免费视频| 香港成人在线视频| 国产一区二区免费在线| 麻豆91精品91久久久的内涵| 天天影视涩香欲综合网 | 欧美一卡二卡在线| 69久久99精品久久久久婷婷 | 欧美一区二区三区精品| 91福利视频网站| 91香蕉视频mp4| 欧美在线不卡一区| 欧美区视频在线观看| 欧美美女一区二区在线观看| 欧美日韩国产经典色站一区二区三区| 在线视频国内自拍亚洲视频| 91精彩视频在线观看| 在线观看日韩电影| 欧美日韩国产天堂| 欧美成人一级视频| 国产日韩欧美亚洲| 亚洲丝袜制服诱惑| 亚洲v中文字幕| 免费高清视频精品| 国产精品一二三| 成人午夜精品在线| 欧美在线一二三四区| 欧美日韩精品欧美日韩精品| 欧美一区二区三区系列电影| 精品国产人成亚洲区| 欧美经典一区二区| 亚洲尤物视频在线| 热久久一区二区| 波多野结衣中文字幕一区二区三区| 99国产精品久久久久久久久久| 色八戒一区二区三区| 欧美理论电影在线| 久久久亚洲欧洲日产国码αv| 日本一区二区在线不卡| 亚洲综合色自拍一区| 麻豆精品精品国产自在97香蕉| 国产毛片精品视频| 91麻豆国产在线观看| 日韩一区二区高清| 中文字幕在线不卡视频| 午夜精品在线视频一区| 国产成人亚洲综合a∨婷婷 | 五月综合激情日本mⅴ| 国产真实乱偷精品视频免| 成人性色生活片| 欧美一区二区三区视频在线观看| 中文字幕欧美日本乱码一线二线| 亚洲国产成人tv| 成人av综合在线| 日韩欧美在线影院|