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 "llspatialpartition.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)


Detailed Description

LLVOWater class implementation.

LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-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 llvowater.cpp.


Function Documentation

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

Definition at line 60 of file llvowater.cpp.

void setVecZ ( LLVector3 v  ) 

Definition at line 244 of file llvowater.cpp.

References LLVector3::mV, VX, VY, and VZ.


Variable Documentation

const BOOL gUseRoam = FALSE

Definition at line 53 of file llvowater.cpp.

const U32 N_RES_HALF = (N_RES >> 1)

Definition at line 65 of file llvowater.cpp.

const F32 WAVE_STEP_INV = (1. / WAVE_STEP)

Definition at line 68 of file llvowater.cpp.

const U32 WIDTH = (N_RES * WAVE_STEP)

Definition at line 67 of file llvowater.cpp.


Generated on Fri May 16 08:38:05 2008 for SecondLife by  doxygen 1.5.5