📄 opengl.h
字号:
/* * =========================================================================== * PRODUCTION $Log: opengl.h,v $ * PRODUCTION Revision 1000.0 2003/10/31 20:17:25 gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.6 * PRODUCTION * =========================================================================== */#ifndef GUI___OPENGL__HPP#define GUI___OPENGL__HPP/* $Id: opengl.h,v 1000.0 2003/10/31 20:17:25 gouriano Exp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular * purpose. * * Please cite the author in any work or product based on this material. * * =========================================================================== * * Authors: Mike DiCuccio * * File Description: * Standard mechanism to include OpenGL headers for all platforms. */#include <ncbiconf.h>//// gl.h// FLTK demands we use theirs; Darwin places theirs in a non-standard location//#if defined(HAVE_FLTK)# include <FL/gl.h>#elif defined(NCBI_OS_DARWIN)# include <OpenGL/gl.h>#else# include <GL/gl.h>#endif//// glu.h// Darwin places theirs in a non-standard location; FLTK doesn't provide their// own version, so we don't need to special case this//#if defined(NCBI_OS_DARWIN)# include <OpenGL/glu.h>#else# include <GL/glu.h>#endif/* * =========================================================================== * $Log: opengl.h,v $ * Revision 1000.0 2003/10/31 20:17:25 gouriano * PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.6 * * Revision 1.6 2003/06/25 16:57:41 dicuccio * Clarified (finally) OpenGL headers * * Revision 1.5 2003/06/20 20:00:58 dicuccio * Fixed logic in determining what set of OpenGL headers to use * * Revision 1.4 2003/06/20 14:40:49 dicuccio * Redefined order of #includes to standardize for FLTK vs. non-FLTK apps. * * Revision 1.3 2002/11/19 16:56:14 dicuccio * Changed <GL/gl.h> -> <FL/gl.h>: this avoids some operating-system specifics * * Revision 1.2 2002/11/14 16:28:09 dicuccio * Removed bogus define check for Mac OS 9. * * Revision 1.1 2002/11/14 16:12:30 dicuccio * Initial revision. * * =========================================================================== */#endif /* GUI___OPENGL__HPP */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -