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

📄 pgm_util.hpp

📁 The goal of this project is to explore the idea of point-based radiosity, which is a shooting radio
💻 HPP
字号:
#if !defined(BRL_PGM_UTIL_HPP)
#define BRL_PGM_UTIL_HPP

/*+-------------------------------------------------------------------
  Ben Landon
  CSCI E-235

  pgm_util.hpp

  This file is the interface to the module for the PGM 
  reader.  Note PGM is Portable Gray Map.

  
*/

/*+-------------------------------------------------------------------
  read_pgm_file

  Returns true on success, false on failure.

  read_pgm_file reads a PGM file, which is a portable
  graymap from Jef Poskanzer's library, 
*/
int read_pgm_file (const char* filename, 
		    unsigned int* width,
		    unsigned int* height,
		    unsigned int* max_gray,
		    unsigned char** data);
		    


#endif





⌨️ 快捷键说明

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