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

📄 dedge.cc

📁 [Game.Programming].Academic - Graphics Gems (6 books source code)
💻 CC
字号:
// -*- C++ -*-// dedge.cc by George Vanecek Jr. June 1994//#include <stdlib.h>#include <assert.h>#include "dedge.h"DEdge::DEdge( const Point& srcP, DEdge* const last ): sP(srcP), nxt(NULL), sPW(NOWHERE){  last->nxt = this;  prv       = last;}void DEdge::closeCycle( DEdge* const first, DEdge* const last ){  first->prv = last;  last->nxt  = first;}void DEdge::split( const Point& p ){  DEdge* const n = next();  DEdge* const d = new DEdge( p, this );  closeCycle( n, d );}

⌨️ 快捷键说明

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