llviewercamera.cpp File Reference

LLViewerCamera class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llviewercamera.h"
#include <iomanip>
#include "llquaternion.h"
#include "llagent.h"
#include "llviewercontrol.h"
#include "lldrawable.h"
#include "llface.h"
#include "llgl.h"
#include "llglheaders.h"
#include "llviewerobjectlist.h"
#include "llviewerregion.h"
#include "llviewerwindow.h"
#include "llvovolume.h"
#include "llworld.h"
#include "lltoolmgr.h"
#include "llviewerjoystick.h"

Include dependency graph for llviewercamera.cpp:

Go to the source code of this file.

Defines

#define M(row, col)   m[col*4+row]

Functions

glh::matrix4f gl_pick_matrix (GLfloat x, GLfloat y, GLfloat width, GLfloat height, GLint *viewport)
glh::matrix4f gl_perspective (GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar)

Variables

GLfloat gGLZFar
GLfloat gGLZNear
F64 gGLModelView [16]
F64 gGLLastModelView [16]
F64 gGLProjection [16]
S32 gGLViewport [4]


Detailed Description

LLViewerCamera class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llviewercamera.cpp.


Define Documentation

#define M ( row,
col   )     m[col*4+row]


Function Documentation

glh::matrix4f gl_perspective ( GLfloat  fovy,
GLfloat  aspect,
GLfloat  zNear,
GLfloat  zFar 
)

Definition at line 78 of file llviewercamera.cpp.

References DEG_TO_RAD, and tanf.

Referenced by LLPipeline::generateImpostor(), and LLViewerCamera::setPerspective().

Here is the caller graph for this function:

glh::matrix4f gl_pick_matrix ( GLfloat  x,
GLfloat  y,
GLfloat  width,
GLfloat  height,
GLint *  viewport 
)

Definition at line 57 of file llviewercamera.cpp.

References M.

Referenced by LLViewerCamera::setPerspective().

Here is the caller graph for this function:


Variable Documentation

GLfloat gGLZFar

Definition at line 53 of file llviewercamera.cpp.

Referenced by LLViewerCamera::setPerspective().

GLfloat gGLZNear

Definition at line 54 of file llviewercamera.cpp.

Referenced by LLViewerCamera::setPerspective().


Generated on Fri May 16 08:37:19 2008 for SecondLife by  doxygen 1.5.5