llface.cpp File Reference

LLFace class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "lldrawable.h"
#include "llface.h"
#include "llviewertextureanim.h"
#include "llviewercontrol.h"
#include "llvolume.h"
#include "m3math.h"
#include "v3color.h"
#include "lldrawpoolbump.h"
#include "llgl.h"
#include "llglimmediate.h"
#include "lllightconstants.h"
#include "llsky.h"
#include "llviewercamera.h"
#include "llviewerimagelist.h"
#include "llvosky.h"
#include "llvovolume.h"
#include "pipeline.h"
#include "llviewerregion.h"

Include dependency graph for llface.cpp:

Go to the source code of this file.

Defines

#define LL_MAX_INDICES_COUNT   1000000
#define DOTVEC(a, b)   (a.mV[0]*b.mV[0] + a.mV[1]*b.mV[1] + a.mV[2]*b.mV[2])

Functions

void planarProjection (LLVector2 &tc, const LLVolumeFace::VertexData &vd, const LLVector3 &mCenter, const LLVector3 &vec)
void sphericalProjection (LLVector2 &tc, const LLVolumeFace::VertexData &vd, const LLVector3 &mCenter, const LLVector3 &vec)
void cylindricalProjection (LLVector2 &tc, const LLVolumeFace::VertexData &vd, const LLVector3 &mCenter, const LLVector3 &vec)
static void xform (LLVector2 &tex_coord, F32 cosAng, F32 sinAng, F32 offS, F32 offT, F32 magS, F32 magT)

Variables

BOOL gPickFaces


Detailed Description

LLFace class implementation.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-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 llface.cpp.


Define Documentation

#define DOTVEC ( a,
 )     (a.mV[0]*b.mV[0] + a.mV[1]*b.mV[1] + a.mV[2]*b.mV[2])

Definition at line 61 of file llface.cpp.

#define LL_MAX_INDICES_COUNT   1000000

Definition at line 55 of file llface.cpp.

Referenced by LLFace::verify().


Function Documentation

void cylindricalProjection ( LLVector2 tc,
const LLVolumeFace::VertexData vd,
const LLVector3 mCenter,
const LLVector3 vec 
)

Definition at line 113 of file llface.cpp.

Referenced by LLFace::getGeometryVolume().

Here is the caller graph for this function:

void planarProjection ( LLVector2 tc,
const LLVolumeFace::VertexData vd,
const LLVector3 mCenter,
const LLVector3 vec 
)

Definition at line 76 of file llface.cpp.

References d, LLVolumeFace::VertexData::mNormal, LLVector2::mV, and LLVector3::mV.

Referenced by LLFace::getGeometryVolume().

Here is the caller graph for this function:

void sphericalProjection ( LLVector2 tc,
const LLVolumeFace::VertexData vd,
const LLVector3 mCenter,
const LLVector3 vec 
)

Definition at line 102 of file llface.cpp.

Referenced by LLFace::getGeometryVolume().

Here is the caller graph for this function:

static void xform ( LLVector2 tex_coord,
F32  cosAng,
F32  sinAng,
F32  offS,
F32  offT,
F32  magS,
F32  magT 
) [static]

Definition at line 640 of file llface.cpp.

References LLVector2::mV.

Referenced by LLFace::getGeometryVolume().

Here is the caller graph for this function:


Variable Documentation


Generated on Fri May 16 08:36:24 2008 for SecondLife by  doxygen 1.5.5