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

  • 大小: 12.16MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-22
  • 語言: 其他
  • 標簽: opengl??learnopengl??glfw??

資源簡介

配置好的Modern OpenGL開發(fā)環(huán)境,適用于opengl3.3+及以上版本。 1.GLFW3+GLAD 2.集成stb_image和assimp 3.相對路徑配置,任意裝有vs的PC都可以一鍵打開

資源截圖

代碼片段和文件信息

///////////////////////////////////////////////////////////////////////////////////
///?OpenGL?Mathematics?(glm.g-truc.net)
///
///?Copyright?(c)?2005?-?2014?G-Truc?Creation?(www.g-truc.net)
///?Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining?a?copy
///?of?this?software?and?associated?documentation?files?(the?“Software“)?to?deal
///?in?the?Software?without?restriction?including?without?limitation?the?rights
///?to?use?copy?modify?merge?publish?distribute?sublicense?and/or?sell
///?copies?of?the?Software?and?to?permit?persons?to?whom?the?Software?is
///?furnished?to?do?so?subject?to?the?following?conditions:
///?
///?The?above?copyright?notice?and?this?permission?notice?shall?be?included?in
///?all?copies?or?substantial?portions?of?the?Software.
///?
///?THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND?EXPRESS?OR
///?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES?OF?MERCHANTABILITY
///?FITNESS?FOR?A?PARTICULAR?PURPOSE?AND?NONINFRINGEMENT.?IN?NO?EVENT?SHALL?THE
///?AUTHORS?OR?COPYRIGHT?HOLDERS?BE?LIABLE?FOR?ANY?CLAIM?DAMAGES?OR?OTHER
///?LIABILITY?WHETHER?IN?AN?ACTION?OF?CONTRACT?TORT?OR?OTHERWISE?ARISING?FROM
///?OUT?OF?OR?IN?CONNECTION?WITH?THE?SOFTWARE?OR?THE?USE?OR?OTHER?DEALINGS?IN
///?THE?SOFTWARE.
///
///?@ref?core
///?@file?glm/core/dummy.cpp
///?@date?2011-01-19?/?2011-06-15
///?@author?Christophe?Riccio
///
///?GLM?is?a?header?only?library.?There?is?nothing?to?compile.?
///?dummy.cpp?exist?only?a?wordaround?for?CMake?file.
///////////////////////////////////////////////////////////////////////////////////

#define?GLM_FORCE_RADIANS
#define?GLM_MESSAGES
#include?“../glm.hpp“
#include?

struct?material
{
glm::vec4?emission;?//?Ecm
glm::vec4?ambient;?//?Acm
glm::vec4?diffuse;?//?Dcm
glm::vec4?specular;?//?Scm
float?shininess;?//?Srm
};

struct?light
{
glm::vec4?ambient;?//?Acli
glm::vec4?diffuse;?//?Dcli
glm::vec4?specular;?//?Scli
glm::vec4?position;?//?Ppli
glm::vec4?halfVector;?//?Derived:?Hi
glm::vec3?spotDirection;?//?Sdli
float?spotExponent;?//?Srli
float?spotCutoff;?//?Crli
//?(range:?[0.090.0]?180.0)
float?spotCosCutoff;?//?Derived:?cos(Crli)
//?(range:?[1.00.0]-1.0)
float?constantAttenuation;?//?K0
float?linearAttenuation;?//?K1
float?quadraticAttenuation;//?K2
};


//?Sample?1
#include?//?glm::vec3
#include?//?glm::cross?glm::normalize

glm::vec3?computeNormal

glm::vec3?const?&?a
glm::vec3?const?&?b
glm::vec3?const?&?c

{
return?glm::normalize(glm::cross(c?-?a?b?-?a));
}

typedef?unsigned?int?GLuint;
#define?GL_FALSE?0
void?glUniformMatrix4fv(GLuint?int?int?float*){}

//?Sample?2
#include??//?glm::vec3
#include??//?glm::vec4?glm::ivec4
#include??//?glm::mat4
#include??//?glm::translate?glm::rotate?glm::scale?glm::perspective
#include?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???14470656??2017-10-02?19:46??external\dll\assimp-vc140-mt.dll

?????文件????????175??2017-10-02?19:46??external\include\assimp\.editorconfig

?????文件???????2007??2017-10-02?19:46??external\include\assimp\ai_assert.h

?????文件??????14779??2017-10-02?19:46??external\include\assimp\anim.h

?????文件???????7578??2017-10-02?19:46??external\include\assimp\camera.h

?????文件??????12426??2017-10-02?19:46??external\include\assimp\cexport.h

?????文件???????4508??2017-10-02?19:46??external\include\assimp\cfileio.h

?????文件??????24629??2017-10-02?19:46??external\include\assimp\cimport.h

?????文件???????3571??2017-10-02?19:46??external\include\assimp\color4.h

?????文件???????8486??2017-10-02?19:46??external\include\assimp\color4.inl

?????文件????????770??2017-10-02?19:46??external\include\assimp\Compiler\poppack1.h

?????文件??????31051??2017-10-02?19:46??external\include\assimp\Compiler\pstdint.h

?????文件???????1169??2017-10-02?19:46??external\include\assimp\Compiler\pushpack1.h

?????文件??????37961??2017-10-02?19:46??external\include\assimp\config.h

?????文件???????7672??2017-10-02?19:46??external\include\assimp\DefaultLogger.hpp

?????文件???????9519??2017-10-02?19:46??external\include\assimp\defs.h

?????文件??????21871??2017-10-02?19:46??external\include\assimp\Exporter.hpp

?????文件??????30162??2017-10-02?19:46??external\include\assimp\Importer.hpp

?????文件???????5897??2017-10-02?19:46??external\include\assimp\importerdesc.h

?????文件???????4876??2017-10-02?19:46??external\include\assimp\IOStream.hpp

?????文件??????10424??2017-10-02?19:46??external\include\assimp\IOSystem.hpp

?????文件???????9002??2017-10-02?19:46??external\include\assimp\light.h

?????文件??????10138??2017-10-02?19:46??external\include\assimp\Logger.hpp

?????文件???????3871??2017-10-02?19:46??external\include\assimp\LogStream.hpp

?????文件??????52379??2017-10-02?19:46??external\include\assimp\material.h

?????文件??????11782??2017-10-02?19:46??external\include\assimp\material.inl

?????文件???????6456??2017-10-02?19:46??external\include\assimp\matrix3x3.h

?????文件??????12365??2017-10-02?19:46??external\include\assimp\matrix3x3.inl

?????文件???????9524??2017-10-02?19:46??external\include\assimp\matrix4x4.h

?????文件??????20300??2017-10-02?19:46??external\include\assimp\matrix4x4.inl

............此處省略332個文件信息

評論

共有 條評論