llvowater.cpp File Reference

LLVOWater class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llvowater.h"
#include "imageids.h"
#include "llviewercontrol.h"
#include "llagent.h"
#include "lldrawable.h"
#include "lldrawpoolwater.h"
#include "llface.h"
#include "llsky.h"
#include "llsurface.h"
#include "llvosky.h"
#include "llviewercamera.h"
#include "llviewerimagelist.h"
#include "llviewerregion.h"
#include "llworld.h"
#include "pipeline.h"
#include "randgauss.h"

Include dependency graph for llvowater.cpp:

Go to the source code of this file.

Functions

template<class T>
LERP (T a, T b, F32 factor)
void setVecZ (LLVector3 &v)

Variables

const BOOL gUseRoam = FALSE
const U32 N_RES_HALF = (N_RES >> 1)
const U32 WIDTH = (N_RES * WAVE_STEP)
const F32 WAVE_STEP_INV = (1. / WAVE_STEP)
const F32 g = 9.81f


Detailed Description

LLVOWater class implementation.

LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llvowater.cpp.


Function Documentation

template<class T>
T LERP ( a,
b,
F32  factor 
) [inline]

Definition at line 59 of file llvowater.cpp.

void setVecZ ( LLVector3 v  ) 

Definition at line 259 of file llvowater.cpp.

References v, VX, VY, and VZ.


Variable Documentation

const F32 g = 9.81f

Definition at line 69 of file llvowater.cpp.

const BOOL gUseRoam = FALSE

Definition at line 52 of file llvowater.cpp.

const U32 N_RES_HALF = (N_RES >> 1)

Definition at line 64 of file llvowater.cpp.

const F32 WAVE_STEP_INV = (1. / WAVE_STEP)

Definition at line 67 of file llvowater.cpp.

const U32 WIDTH = (N_RES * WAVE_STEP)

Definition at line 66 of file llvowater.cpp.


Generated on Thu Jul 1 06:10:50 2010 for Second Life Viewer by  doxygen 1.4.7