Code Search for Developers
 
 
  

gltools.h from Boson at Krugle


Show gltools.h syntax highlighted

#ifndef GFXGLTOOLS_INCLUDED // -*- C++ -*-
#define GFXGLTOOLS_INCLUDED
#if !defined(__GNUC__)
#  pragma once
#endif

/************************************************************************

  Handy functions for common OpenGL tasks

  $Id: gltools.h 5690 2005-02-14 14:21:56Z rivol $

 ************************************************************************/

#include "gl.h"
#include "vec3.h"


extern GLuint opengl_pick_nil;
extern GLuint opengl_pick_zmax;

extern void begin_opengl_pick(int *ctr, double radius, GLuint *buf, int size);
extern GLuint complete_opengl_pick(GLuint *buffer);

extern void check_opengl_errors(const char *msg=NULL);

extern void camera_lookat(const Vec3& min, const Vec3& max, double aspect);

extern int unproject_pixel(int *pixel, double *world, double z=0.0);

// GFXGLTOOLS_INCLUDED
#endif




See more files for this project here

Boson

Boson is an OpenGL real-time strategy game. It is designed to run on Unix (Linux) computers, and is built on top of the KDE, Qt and kdegames libraries.

Project homepage: http://sourceforge.net/projects/boson
Programming language(s): C,C++
License: other

  arcball.h
  array.h
  baseball.h
  geom3d.h
  geom4d.h
  gfx.h
  gl.h
  glext.h
  gltools.h
  gui.h
  intvec.h
  mat2.h
  mat3.h
  mat4.h
  mfc.h
  quat.h
  raster.h
  script.h
  symmat3.h
  symmat4.h
  trackball.h
  vec2.h
  vec3.h
  vec4.h
  wintools.h