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

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

?? d3dx8.pas

?? 一套及時通訊的原碼
?? PAS
?? 第 1 頁 / 共 5 頁
字號:
{******************************************************************************}
{*                                                                            *}
{*  Copyright (C) Microsoft Corporation.  All Rights Reserved.                *}
{*                                                                            *}
{*  File:       d3dx8.h, d3dx8core.h, d3dx8math.h, d3dx8math.inl,             *}
{*              d3dx8effect.h, d3dx8mesh.h, d3dx8shape.h, d3dx8tex.h          *}
{*  Content:    Direct3DX 8.1 headers                                         *}
{*                                                                            *}
{*  Direct3DX 8.1 Delphi adaptation by Alexey Barkovoy                        *}
{*  E-Mail: clootie@reactor.ru                                                *}
{*                                                                            *}
{*  Modified: 27-Apr-2003                                                     *}
{*                                                                            *}
{*  Partly based upon :                                                       *}
{*    Direct3DX 7.0 Delphi adaptation by                                      *}
{*      Arne Sch鋚ers, e-Mail: [look at www.delphi-jedi.org/DelphiGraphics/]  *}
{*                                                                            *}
{*  Latest version can be downloaded from:                                    *}
{*     http://clootie.narod.ru/delphi                                         *}
{*                                                                            *}
{*  This File contains only Direct3DX 8.x Definitions.                        *}
{*  If you want to use D3DX7 version of D3DX use translation by Arne Sch鋚ers *}
{*                                                                            *}
{******************************************************************************)
{                                                                              }
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI)        }
{                                                                              }
{ The contents of this file are used with permission, subject to the Mozilla   }
{ Public License Version 1.1 (the "License"); you may not use this file except }
{ in compliance with the License. You may obtain a copy of the License at      }
{ http://www.mozilla.org/MPL/MPL-1.1.html                                      }
{                                                                              }
{ Software distributed under the License is distributed on an "AS IS" basis,   }
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
{ the specific language governing rights and limitations under the License.    }
{                                                                              }
{ Alternatively, the contents of this file may be used under the terms of the  }
{ GNU Lesser General Public License (the  "LGPL License"), in which case the   }
{ provisions of the LGPL License are applicable instead of those above.        }
{ If you wish to allow use of your version of this file only under the terms   }
{ of the LGPL License and not to allow others to use your version of this file }
{ under the MPL, indicate your decision by deleting  the provisions above and  }
{ replace  them with the notice and other provisions required by the LGPL      }
{ License.  If you do not delete the provisions above, a recipient may use     }
{ your version of this file under either the MPL or the LGPL License.          }
{                                                                              }
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
{                                                                              }
{******************************************************************************}

// Original source contained in "D3DX8.par"

{$I DirectX.inc}

unit D3DX8;

interface

// Remove "dot" below to link with debug version of D3DX8
// (only in JEDI or TMT pascal version)
{.$DEFINE DEBUG}

// Remove "dot" below to link with DirectXGraphics and Direct3D
{.$DEFINE DXG_COMPAT}

(*$HPPEMIT '#include "d3dx8.h"' *)
(*$HPPEMIT '#include "dxfile.h"' *)

// Do not emit <DXFile.hpp> to C++Builder
(*$NOINCLUDE DXFile *)

(*$HPPEMIT 'namespace D3dx8' *)

(*$HPPEMIT '{' *)

uses
  Windows,
  ActiveX,
  SysUtils,
  {$I UseD3D8.inc},
  DXFile;

const
  //////////// DLL export definitions ///////////////////////////////////////
  d3dx8dll ={$IFDEF DEBUG} 'd3dx8d.dll'{$ELSE} 'D3DX81ab.dll'{$ENDIF};


///////////////////////////////////////////////////////////////////////////
//
//  Copyright (C) Microsoft Corporation.  All Rights Reserved.
//
//  File:       d3dx8.h
//  Content:    D3DX utility library
//
///////////////////////////////////////////////////////////////////////////

const
  // #define D3DX_DEFAULT ULONG_MAX
  D3DX_DEFAULT          = $FFFFFFFF;
  {$EXTERNALSYM D3DX_DEFAULT}

var
  // #define D3DX_DEFAULT_FLOAT FLT_MAX
  // Forced to define as 'var' cos pascal compiler treats all consts as Double
  D3DX_DEFAULT_FLOAT: Single = 3.402823466e+38;  // max single value
  {$EXTERNALSYM D3DX_DEFAULT_FLOAT}




//////////////////////////////////////////////////////////////////////////////
//
//  Copyright (C) Microsoft Corporation.  All Rights Reserved.
//
//  File:       d3dx8math.h
//  Content:    D3DX math types and functions
//
//////////////////////////////////////////////////////////////////////////////

//===========================================================================
//
// General purpose utilities
//
//===========================================================================
const
  D3DX_PI: Single       = 3.141592654;
  {$EXTERNALSYM D3DX_PI}
  D3DX_1BYPI: Single    = 0.318309886;
  {$EXTERNALSYM D3DX_1BYPI}

//#define D3DXToRadian( degree ) ((degree) * (D3DX_PI / 180.0f))
function D3DXToRadian(Degree: Single): Single;
{$EXTERNALSYM D3DXToRadian}
//#define D3DXToDegree( radian ) ((radian) * (180.0f / D3DX_PI))
function D3DXToDegree(Radian: Single): Single;
{$EXTERNALSYM D3DXToDegree}


//===========================================================================
//
// Vectors
//
//===========================================================================

//--------------------------
// 2D Vector
//--------------------------
type
  {$HPPEMIT 'typedef D3DXVECTOR2 TD3DXVector2;'}
  {$HPPEMIT 'typedef D3DXVECTOR2 *PD3DXVector2;'}
  PD3DXVector2 = ^TD3DXVector2;
  {$NODEFINE PD3DXVector2}
  TD3DXVector2 = packed record
    x, y: Single;
  end;
  {$NODEFINE TD3DXVector2}

// Some pascal equalents of C++ class functions & operators
const D3DXVector2Zero: TD3DXVector2 = (x:0; y:0);  // (0,0)
function D3DXVector2(_x, _y: Single): TD3DXVector2;
function D3DXVector2Equal(const v1, v2: TD3DXVector2): Boolean;


//--------------------------
// 3D Vector
//--------------------------
type
  {$HPPEMIT 'typedef D3DXVECTOR3 TD3DXVector3;'}
  {$HPPEMIT 'typedef D3DXVECTOR3 *PD3DXVector3;'}
  PD3DXVector3 = ^TD3DXVector3;
  {$NODEFINE PD3DXVector3}
  TD3DXVector3 = TD3DVector;
  {$NODEFINE TD3DXVector3}

// Some pascal equalents of C++ class functions & operators
const D3DXVector3Zero: TD3DXVector3 = (x:0; y:0; z:0);  // (0,0,0)
function D3DXVector3(_x, _y, _z: Single): TD3DXVector3;
function D3DXVector3Equal(const v1, v2: TD3DXVector3): Boolean;


//--------------------------
// 4D Vector
//--------------------------
type
  {$HPPEMIT 'typedef D3DXVECTOR4 TD3DXVector4;'}
  {$HPPEMIT 'typedef D3DXVECTOR4 *PD3DXVector4;'}
  PD3DXVector4 = ^TD3DXVector4;
  {$NODEFINE PD3DXVector4}
  TD3DXVector4 = packed record
    x, y, z, w: Single;
  end;
  {$NODEFINE TD3DXVector4}

// Some pascal equalents of C++ class functions & operators
const D3DXVector4Zero: TD3DXVector4 = (x:0; y:0; z:0; w:0);  // (0,0,0,0)
function D3DXVector4(_x, _y, _z, _w: Single): TD3DXVector4;
function D3DXVector4Equal(const v1, v2: TD3DXVector4): Boolean;

//===========================================================================
//
// Matrices
//
//===========================================================================
type
  {$HPPEMIT 'typedef D3DXMATRIX TD3DXMatrix;'}
  {$HPPEMIT 'typedef D3DXMATRIX *PD3DXMatrix;'}
  PD3DXMatrix = ^TD3DXMatrix;
  {$NODEFINE PD3DXMatrix}
  TD3DXMatrix = TD3DMatrix;
  {$NODEFINE TD3DXMatrix}

// Some pascal equalents of C++ class functions & operators
function D3DXMatrix(
  _m00, _m01, _m02, _m03,
  _m10, _m11, _m12, _m13,
  _m20, _m21, _m22, _m23,
  _m30, _m31, _m32, _m33: Single): TD3DXMatrix;
function D3DXMatrixAdd(out mOut: TD3DXMatrix; const m1, m2: TD3DXMatrix): PD3DXMatrix;
function D3DXMatrixSubtract(out mOut: TD3DXMatrix; const m1, m2: TD3DXMatrix): PD3DXMatrix;
function D3DXMatrixMul(out mOut: TD3DXMatrix; const m: TD3DXMatrix; MulBy: Single): PD3DXMatrix;
function D3DXMatrixEqual(const m1, m2: TD3DXMatrix): Boolean;


//===========================================================================
//
// Aligned Matrices
//
// This class helps keep matrices 16-byte aligned as preferred by P4 cpus.
// It aligns matrices on the stack and on the heap or in global scope.
// It does this using __declspec(align(16)) which works on VC7 and on VC 6
// with the processor pack. Unfortunately there is no way to detect the
// latter so this is turned on only on VC7. On other compilers this is the
// the same as D3DXMATRIX.
// Using this class on a compiler that does not actually do the alignment
// can be dangerous since it will not expose bugs that ignore alignment.
// E.g if an object of this class in inside a struct or class, and some code
// memcopys data in it assuming tight packing. This could break on a compiler
// that eventually start aligning the matrix.
//
//===========================================================================

// Translator comments: None of current pascal compilers can even align data
// inside records to 16 byte boundary, so we just leave aligned matrix
// declaration equal to standart matrix
type
  PD3DXMatrixA16 = ^TD3DXMatrixA16;
  TD3DXMatrixA16 = TD3DXMatrix;


//===========================================================================
//
//    Quaternions
//
//===========================================================================
type
  PD3DXQuaternion = ^TD3DXQuaternion;
  TD3DXQuaternion = packed record
    x, y, z, w: Single;
  end;
  {$NODEFINE TD3DXQuaternion}
  {$HPPEMIT 'typedef D3DXQUATERNION TD3DXQuaternion;'}

// Some pascal equalents of C++ class functions & operators
function D3DXQuaternion(_x, _y, _z, _w: Single): TD3DXQuaternion;
function D3DXQuaternionAdd(const q1, q2: TD3DXQuaternion): TD3DXQuaternion;
function D3DXQuaternionSubtract(const q1, q2: TD3DXQuaternion): TD3DXQuaternion;
function D3DXQuaternionEqual(const q1, q2: TD3DXQuaternion): Boolean;
function D3DXQuaternionScale(out qOut: TD3DXQuaternion; const q: TD3DXQuaternion;
  s: Single): PD3DXQuaternion;


//===========================================================================
//
// Planes
//
//===========================================================================
type
  PD3DXPlane = ^TD3DXPlane;
  TD3DXPlane = packed record
    a, b, c, d: Single;
  end;
  {$NODEFINE TD3DXPlane}
  {$HPPEMIT 'typedef D3DXPLANE TD3DXPlane;'}

// Some pascal equalents of C++ class functions & operators
const D3DXPlaneZero: TD3DXPlane = (a:0; b:0; c:0; d:0);  // (0,0,0,0)
function D3DXPlane(_a, _b, _c, _d: Single): TD3DXPlane;
function D3DXPlaneEqual(const p1, p2: TD3DXPlane): Boolean;


//===========================================================================
//
// Colors
//
//===========================================================================
type
  {$HPPEMIT 'typedef D3DXCOLOR TD3DXColor;'}
  {$HPPEMIT 'typedef D3DXCOLOR *PD3DXColor;'}
  PD3DXColor = PD3DColorValue;
  {$NODEFINE PD3DXColor}
  TD3DXColor = TD3DColorValue;
  {$NODEFINE TD3DXColor}

function D3DXColor(_r, _g, _b, _a: Single): TD3DXColor;
function D3DXColorToDWord(c: TD3DXColor): DWord;
function D3DXColorFromDWord(c: DWord): TD3DXColor;
function D3DXColorEqual(const c1, c2: TD3DXColor): Boolean;


//===========================================================================
//
// D3DX math functions:
//
// NOTE:
//  * All these functions can take the same object as in and out parameters.
//
//  * Out parameters are typically also returned as return values, so that
//    the output of one function may be used as a parameter to another.
//
//===========================================================================

//--------------------------
// 2D Vector
//--------------------------

// inline

function D3DXVec2Length(const v: TD3DXVector2): Single;
{$EXTERNALSYM D3DXVec2Length}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线丨porny丨国产| 欧美v日韩v国产v| 91亚洲午夜精品久久久久久| 从欧美一区二区三区| 国产91在线观看丝袜| 国产福利一区在线| 国产激情精品久久久第一区二区| 久久99热狠狠色一区二区| 日本一区中文字幕| 热久久国产精品| 美女视频第一区二区三区免费观看网站| 亚洲bt欧美bt精品777| 日韩电影免费一区| 另类小说图片综合网| 国产福利视频一区二区三区| 国产成人综合精品三级| 国产成人免费视频一区| 成人av电影在线播放| 91理论电影在线观看| 在线观看av一区| 欧美日韩国产首页| 欧美一级欧美三级| 久久综合久久99| 中文字幕免费在线观看视频一区| 自拍偷自拍亚洲精品播放| 亚洲三级电影网站| 亚洲动漫第一页| 日韩av不卡在线观看| 国内精品不卡在线| 国产**成人网毛片九色| 成人av在线电影| 欧美性色综合网| 欧美精品丝袜中出| 久久影视一区二区| 成人欧美一区二区三区视频网页 | 国产精品理论在线观看| 亚洲欧美一区二区三区孕妇| 天堂成人国产精品一区| 国产精品一二三四五| 色婷婷综合久久久中文一区二区| 欧美视频精品在线| 久久久久久9999| 亚洲毛片av在线| 久久精品国产亚洲高清剧情介绍| 成人免费看视频| 中文字幕+乱码+中文字幕一区| 一区二区三区四区不卡视频 | 欧美性猛片aaaaaaa做受| 日韩视频中午一区| 国产精品久久久久久一区二区三区 | 国产成人av一区| 欧美色精品在线视频| 久久这里只有精品视频网| 亚洲三级在线免费| 国内精品免费在线观看| 欧美亚日韩国产aⅴ精品中极品| 精品对白一区国产伦| 夜夜操天天操亚洲| 国产一区二区三区四| 欧美亚洲愉拍一区二区| 国产午夜亚洲精品午夜鲁丝片 | 日韩在线一区二区| 成人美女在线视频| 91精品国产一区二区人妖| 国产精品久久久久aaaa| 免费高清在线一区| 91官网在线免费观看| 国产日韩精品一区二区浪潮av| 亚洲国产aⅴ天堂久久| 成人免费高清视频| 精品国产网站在线观看| 亚洲午夜免费福利视频| 成人午夜碰碰视频| 欧美sm极限捆绑bd| 午夜视频在线观看一区| 91猫先生在线| 中文av一区特黄| 国产一区二区电影| 欧美一二区视频| 亚洲午夜久久久久久久久电影网 | 国产白丝网站精品污在线入口| 欧美老肥妇做.爰bbww视频| 亚洲色图欧洲色图| 成人免费高清视频| 国产日产欧产精品推荐色| 蜜臀av性久久久久av蜜臀妖精| 欧美日韩一区二区电影| 亚洲免费在线看| 成人av免费在线播放| 中文在线资源观看网站视频免费不卡| 激情综合网天天干| 日韩午夜精品视频| 日本中文在线一区| 88在线观看91蜜桃国自产| 亚洲一区二区黄色| 欧美性生交片4| 亚洲一区在线免费观看| 91国偷自产一区二区开放时间 | 国产激情一区二区三区四区| 欧美mv日韩mv| 九九精品一区二区| 欧美成人a在线| 精品中文字幕一区二区小辣椒| 欧美一区二区三区四区五区| 天堂蜜桃91精品| 欧美精品aⅴ在线视频| 午夜伦欧美伦电影理论片| 欧美妇女性影城| 日本一不卡视频| 欧美成人精精品一区二区频| 九九九精品视频| 久久精品一区二区三区四区| 国产黄色91视频| 国产农村妇女毛片精品久久麻豆 | 极品少妇xxxx偷拍精品少妇| 26uuu色噜噜精品一区二区| 欧美综合欧美视频| 亚洲一区二区av电影| 欧美福利电影网| 黄页网站大全一区二区| 久久久久国产精品人| www.激情成人| 一区二区日韩电影| 欧美一级夜夜爽| 国产精品一区二区在线看| 国产精品国产三级国产普通话蜜臀| 972aa.com艺术欧美| 亚洲国产精品一区二区www| 欧美精品乱码久久久久久按摩| 激情深爱一区二区| 国产精品久线在线观看| 色噜噜狠狠色综合中国| 天天综合色天天| 久久久不卡影院| 91久久一区二区| 日韩和的一区二区| 国产午夜精品一区二区三区嫩草 | 一区二区三区四区视频精品免费| 在线不卡中文字幕播放| 国内精品免费**视频| 中文字幕综合网| 666欧美在线视频| 国产91丝袜在线播放| 亚洲综合色区另类av| 精品久久久久99| 97久久超碰国产精品电影| 日韩一区精品字幕| 国产精品欧美久久久久无广告| 欧美色成人综合| 精品中文字幕一区二区| 亚洲欧美日韩久久精品| 欧美成人精品高清在线播放| 91色视频在线| 麻豆成人免费电影| 亚洲人成在线播放网站岛国| 欧美一区二区高清| 99久久久久久99| 麻豆精品新av中文字幕| 亚洲伦在线观看| 久久亚洲捆绑美女| 欧美日精品一区视频| 国产精品一区二区黑丝| 日日骚欧美日韩| 亚洲色图清纯唯美| 久久亚洲一区二区三区四区| 欧美性视频一区二区三区| 国产精品亚洲成人| 日韩国产精品久久久| 自拍偷拍亚洲综合| 久久九九久久九九| 91精品国产综合久久精品app| 成人app在线| 国产一区二区中文字幕| 亚洲福利电影网| 亚洲日本电影在线| 国产欧美一区视频| 日韩欧美在线不卡| 欧美日韩亚洲综合一区二区三区| 国产成人免费xxxxxxxx| 蜜桃av噜噜一区二区三区小说| 亚洲女同女同女同女同女同69| 久久精品人人做人人爽人人| 日韩一级完整毛片| 欧美午夜电影在线播放| 欧美精品一区二区三区四区| 欧美亚洲综合久久| 91麻豆swag| 91片黄在线观看| 成人国产电影网| 国产一区二区电影| 国产原创一区二区三区| 免费国产亚洲视频| 日韩高清国产一区在线| 亚洲一区二区三区四区的 | 免费黄网站欧美| 日本在线不卡视频一二三区| 午夜影院在线观看欧美| 亚洲一区二区中文在线| 亚洲综合网站在线观看| 亚洲综合免费观看高清完整版在线 |