91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 671KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-03
  • 語言: 其他
  • 標簽: OpenGL??

資源簡介

opengl編程指南第7版, 每個文件可以單獨編譯學習。看看書,研讀一下代碼,進步很快的喲!

資源截圖

代碼片段和文件信息

/*
?*?Copyright?(c)?1993-2003?Silicon?Graphics?Inc.
?*?All?Rights?Reserved
?*
?*?Permission?to?use?copy?modify?and?distribute?this?software?for?any
?*?purpose?and?without?fee?is?hereby?granted?provided?that?the?above
?*?copyright?notice?appear?in?all?copies?and?that?both?the?copyright
?*?notice?and?this?permission?notice?appear?in?supporting?documentation
?*?and?that?the?name?of?Silicon?Graphics?Inc.?not?be?used?in
?*?advertising?or?publicity?pertaining?to?distribution?of?the?software
?*?without?specific?written?prior?permission.
?*
?*?THE?MATERIAL?EMBODIED?ON?THIS?SOFTWARE?IS?PROVIDED?TO?YOU?“AS-IS“?AND
?*?WITHOUT?WARRANTY?OF?ANY?KIND?EXPRESS?IMPLIED?OR?OTHERWISE
?*?INCLUDING?WITHOUT?LIMITATION?ANY?WARRANTY?OF?MERCHANTABILITY?OR
?*?FITNESS?FOR?A?PARTICULAR?PURPOSE.??IN?NO?EVENT?SHALL?SILICON
?*?GRAPHICS?INC.??BE?LIABLE?TO?YOU?OR?ANYONE?ELSE?FOR?ANY?DIRECT
?*?SPECIAL?INCIDENTAL?INDIRECT?OR?CONSEQUENTIAL?DAMAGES?OF?ANY?KIND
?*?OR?ANY?DAMAGES?WHATSOEVER?INCLUDING?WITHOUT?LIMITATION?LOSS?OF
?*?PROFIT?LOSS?OF?USE?SAVINGS?OR?REVENUE?OR?THE?CLAIMS?OF?THIRD
?*?PARTIES?WHETHER?OR?NOT?SILICON?GRAPHICS?INC.??HAS?BEEN?ADVISED?OF
?*?THE?POSSIBILITY?OF?SUCH?LOSS?HOWEVER?CAUSED?AND?ON?ANY?THEORY?OF
?*?LIABILITY?ARISING?OUT?OF?OR?IN?CONNECTION?WITH?THE?POSSESSION?USE
?*?OR?PERFORMANCE?OF?THIS?SOFTWARE.
?*
?*?US?Government?Users?Restricted?Rights?
?*?Use?duplication?or?disclosure?by?the?Government?is?subject?to
?*?restrictions?set?forth?in?FAR?52.227.19(c)(2)?or?subparagraph
?*?(c)(1)(ii)?of?the?Rights?in?Technical?Data?and?Computer?Software
?*?clause?at?DFARS?252.227-7013?and/or?in?similar?or?successor?clauses
?*?in?the?FAR?or?the?DOD?or?NASA?FAR?Supplement.??Unpublished?-?rights
?*?reserved?under?the?copyright?laws?of?the?United?States.
?*
?*?Contractor/manufacturer?is:
?* Silicon?Graphics?Inc.
?* 1500?Crittenden?Lane
?* Mountain?View?CA??94043
?* United?State?of?America
?*
?*?OpenGL(R)?is?a?registered?trademark?of?Silicon?Graphics?Inc.
?*/

/*
?*??aaindex.c
?*??This?program?draws?shows?how?to?draw?anti-aliased?lines?in?color
?*??index?mode.?It?draws?two?diagonal?lines?to?form?an?X;?when?‘r‘?
?*??is?typed?in?the?window?the?lines?are?rotated?in?opposite?
?*??directions.
?*/
#include?
#include?

#define?RAMPSIZE?16
#define?RAMP1START?32
#define?RAMP2START?48

static?float?rotAngle?=?0.;

/*??Initialize?antialiasing?for?color?index?mode
?*??including?loading?a?green?color?ramp?starting
?*??at?RAMP1START?and?a?blue?color?ramp?starting
?*??at?RAMP2START.?The?ramps?must?be?a?multiple?of?16.
?*/
void?init(void)
{
???int?i;

???for?(i?=?0;?i???????GLfloat?shade;
??????shade?=?(GLfloat)?i/(GLfloat)?RAMPSIZE;
??????glutSetColor(RAMP1START+(GLint)i?0.?shade?0.);
??????glutSetColor(RAMP2START+(GLint)i?0.?0.?shade);
???}

???glEnable?(GL_LINE_SMOOTH);
???glHint?(GL_LINE_SMOOTH_HINT?GL_DONT_CARE);
???glLineWidth?(1.5)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-25?20:30??opengl編程指南第七版源碼\
?????目錄???????????0??2018-05-25?20:30??opengl編程指南第七版源碼\Data\
?????文件??????720605??2003-12-03?11:24??opengl編程指南第七版源碼\Data\leeds.bin
?????文件????????2195??2003-12-03?11:25??opengl編程指南第七版源碼\INDEX
?????文件????????8303??2003-12-03?11:24??opengl編程指南第七版源碼\Imakefile
?????文件????????3303??2003-12-03?11:24??opengl編程指南第七版源碼\Makefile
?????文件????????3981??2003-12-03?11:24??opengl編程指南第七版源碼\Makefile.win
?????文件????????4575??2003-12-03?11:25??opengl編程指南第七版源碼\README
?????文件????????4805??2003-12-03?11:25??opengl編程指南第七版源碼\aaindex.c
?????文件????????4803??2003-12-03?11:25??opengl編程指南第七版源碼\aargb.c
?????文件????????5818??2003-12-03?11:25??opengl編程指南第七版源碼\accanti.c
?????文件????????7875??2003-12-03?11:25??opengl編程指南第七版源碼\accpersp.c
?????文件????????4389??2003-12-03?11:25??opengl編程指南第七版源碼\alpha.c
?????文件????????5615??2003-12-03?11:25??opengl編程指南第七版源碼\alpha3D.c
?????文件????????3865??2003-12-03?11:25??opengl編程指南第七版源碼\bezcurve.c
?????文件????????4711??2003-12-03?11:25??opengl編程指南第七版源碼\bezmesh.c
?????文件????????4345??2003-12-03?11:25??opengl編程指南第七版源碼\bezsurf.c
?????文件????????5019??2003-12-03?11:25??opengl編程指南第七版源碼\blendeqn.c
?????文件????????5408??2003-12-03?11:25??opengl編程指南第七版源碼\checker.c
?????文件????????3577??2003-12-03?11:25??opengl編程指南第七版源碼\clip.c
?????文件????????5112??2003-12-03?11:25??opengl編程指南第七版源碼\colormat.c
?????文件????????3769??2003-12-03?11:25??opengl編程指南第七版源碼\colormatrix.c
?????文件????????3858??2003-12-03?11:25??opengl編程指南第七版源碼\colortable.c
?????文件???????13420??2003-12-03?11:25??opengl編程指南第七版源碼\combiner.c
?????文件????????4536??2003-12-03?11:25??opengl編程指南第七版源碼\convolution.c
?????文件????????3446??2003-12-03?11:25??opengl編程指南第七版源碼\cube.c
?????文件????????7202??2003-12-03?11:25??opengl編程指南第七版源碼\cubemap.c
?????文件????????9025??2003-12-03?11:25??opengl編程指南第七版源碼\dof.c
?????文件????????3886??2003-12-03?11:25??opengl編程指南第七版源碼\double.c
?????文件????????3612??2003-12-03?11:25??opengl編程指南第七版源碼\drawf.c
?????文件????????5425??2003-12-03?11:25??opengl編程指南第七版源碼\feedback.c
............此處省略50個文件信息

評論

共有 條評論