mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
split glgsg into glmisc; expand on mesadisplay
This commit is contained in:
parent
ae685dcf4b
commit
42d159254e
24
panda/src/glgsg/glgsg.cxx
Normal file
24
panda/src/glgsg/glgsg.cxx
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
// Filename: glgsg.cxx
|
||||||
|
// Created by: drose (09Feb04)
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// PANDA 3D SOFTWARE
|
||||||
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
||||||
|
//
|
||||||
|
// All use of this software is subject to the terms of the Panda 3d
|
||||||
|
// Software license. You should have received a copy of this license
|
||||||
|
// along with this source code; you will also find a current copy of
|
||||||
|
// the license at http://www.panda3d.org/license.txt .
|
||||||
|
//
|
||||||
|
// To contact the maintainers of this program write to
|
||||||
|
// panda3d@yahoogroups.com .
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// This is the actual .cxx file to include if you want to pick up
|
||||||
|
// any or all of the header files in this directory as compiled to use
|
||||||
|
// the "true" GL library.
|
||||||
|
|
||||||
|
#include "glgsg.h"
|
||||||
|
#include "glstuff_src.cxx"
|
47
panda/src/glgsg/glgsg.h
Normal file
47
panda/src/glgsg/glgsg.h
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
// Filename: glgsg.h
|
||||||
|
// Created by: drose (09Feb04)
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// PANDA 3D SOFTWARE
|
||||||
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
||||||
|
//
|
||||||
|
// All use of this software is subject to the terms of the Panda 3d
|
||||||
|
// Software license. You should have received a copy of this license
|
||||||
|
// along with this source code; you will also find a current copy of
|
||||||
|
// the license at http://www.panda3d.org/license.txt .
|
||||||
|
//
|
||||||
|
// To contact the maintainers of this program write to
|
||||||
|
// panda3d@yahoogroups.com .
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifndef GLGSG_H
|
||||||
|
#define GLGSG_H
|
||||||
|
|
||||||
|
// This is the actual header file to include if you want to pick up
|
||||||
|
// any or all of the header files in this directory as compiled to use
|
||||||
|
// the "true" GL library.
|
||||||
|
|
||||||
|
#include "pandabase.h"
|
||||||
|
#include "config_glgsg.h"
|
||||||
|
|
||||||
|
#define GLP(name) gl##name
|
||||||
|
#define CLP(name) GL##name
|
||||||
|
#define CLASSPREFIX_QUOTED "GL"
|
||||||
|
#define CONFIGOBJ config_glgsg
|
||||||
|
#define GLCAT glgsg_cat
|
||||||
|
#define EXPCL_GL EXPCL_PANDAGL
|
||||||
|
#define EXPTP_GL EXPTP_PANDAGL
|
||||||
|
|
||||||
|
#ifdef WIN32_VC
|
||||||
|
// Must include windows.h before gl.h on NT
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <GL/gl.h>
|
||||||
|
#include <GL/glu.h>
|
||||||
|
|
||||||
|
#include "glstuff_src.h"
|
||||||
|
|
||||||
|
#endif // GLGSG_H
|
Loading…
x
Reference in New Issue
Block a user