⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 axd.h

📁 [Game.Programming].Academic - Graphics Gems (6 books source code)
💻 H
字号:
/* ------------------------------------------------------------------------- *\   AXD.H :   This package provides an implementation of 6 different algorithms   for doing procedural axial deformations.   by Carole Blanc (4 June 1994)   "A Generic Implementation of Axial Deformation Techniques"   in Graphics Gems V (edited by A. Paeth), Academic Press\* ------------------------------------------------------------------------- */#ifndef _AXD_#define _AXD_/*** This package uses the "Toolbox of Macros Functions for Computer Graphics"** which provides files : tool.h, real.h, uint.h, sint.h, vec?.h and mat?.h*/#include "../ch7-7/mactbox/real.h"typedef real (*shape) (real);extern void local_pinch (rv3 *Point, shape Shape, real Ampli);extern void world_pinch (rv3 *Point, frame3 Frame, shape Shape, real Ampli);extern void local_taper (rv3 *Point, shape Shape, real Ampli);extern void world_taper (rv3 *Point, frame3 Frame, shape Shape, real Ampli);extern void local_mould (rv3 *Point, shape Shape, real Ampli);extern void world_mould (rv3 *Point, frame3 Frame, shape Shape, real Ampli);extern void local_twist (rv3 *Point, shape Shape, real Ampli);extern void world_twist (rv3 *Point, frame3 Frame, shape Shape, real Ampli);extern void local_shear (rv3 *Point, shape Shape, real Ampli);extern void world_shear (rv3 *Point, frame3 Frame, shape Shape, real Ampli);extern void local_bend  (rv3 *Point, shape Shape, real Ampli);extern void world_bend  (rv3 *Point, frame3 Frame, shape Shape, real Ampli);#endif/* ------------------------------------------------------------------------- */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -