llvograss.cpp File Reference

Not a blade, but a clump of grass. More...

#include "llviewerprecompiledheaders.h"
#include "llvograss.h"
#include "imageids.h"
#include "llviewercontrol.h"
#include "llagent.h"
#include "llviewerwindow.h"
#include "lldrawable.h"
#include "llface.h"
#include "llsky.h"
#include "llsurface.h"
#include "llsurfacepatch.h"
#include "llvosky.h"
#include "llviewercamera.h"
#include "llviewerimagelist.h"
#include "llviewerregion.h"
#include "pipeline.h"
#include "llworld.h"
#include "lldir.h"
#include "llxmltree.h"

Include dependency graph for llvograss.cpp:

Go to the source code of this file.

Functions

void alert_done (S32 option, void *user_data)

Variables

const S32 GRASS_MAX_BLADES = 32
const F32 GRASS_BLADE_BASE = 0.25f
const F32 GRASS_BLADE_TOP = 0.25f
const F32 GRASS_BLADE_HEIGHT = 0.5f
const F32 GRASS_DISTRIBUTION_SD = 0.15f
F32 exp_x [GRASS_MAX_BLADES]
F32 exp_y [GRASS_MAX_BLADES]
F32 rot_x [GRASS_MAX_BLADES]
F32 rot_y [GRASS_MAX_BLADES]
F32 dz_x [GRASS_MAX_BLADES]
F32 dz_y [GRASS_MAX_BLADES]
F32 w_mod [GRASS_MAX_BLADES]


Detailed Description

Not a blade, but a clump of grass.

LicenseInfo
firstyear=2001&license=viewergpl

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


Function Documentation

void alert_done ( S32  option,
void user_data 
)

Definition at line 111 of file llvograss.cpp.

Referenced by LLVOGrass::initClass().


Variable Documentation

F32 dz_x[GRASS_MAX_BLADES]

Definition at line 65 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

F32 dz_y[GRASS_MAX_BLADES]

Definition at line 66 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

F32 exp_x[GRASS_MAX_BLADES]

Definition at line 61 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

F32 exp_y[GRASS_MAX_BLADES]

Definition at line 62 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

const F32 GRASS_BLADE_BASE = 0.25f

Definition at line 56 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

const F32 GRASS_BLADE_HEIGHT = 0.5f

Definition at line 58 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry().

const F32 GRASS_BLADE_TOP = 0.25f

Definition at line 57 of file llvograss.cpp.

const F32 GRASS_DISTRIBUTION_SD = 0.15f

Definition at line 59 of file llvograss.cpp.

Referenced by LLVOGrass::initClass().

const S32 GRASS_MAX_BLADES = 32

Definition at line 55 of file llvograss.cpp.

Referenced by LLVOGrass::initClass(), LLVOGrass::LLVOGrass(), and LLVOGrass::updateLOD().

F32 rot_x[GRASS_MAX_BLADES]

Definition at line 63 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

F32 rot_y[GRASS_MAX_BLADES]

Definition at line 64 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().

F32 w_mod[GRASS_MAX_BLADES]

Definition at line 68 of file llvograss.cpp.

Referenced by LLVOGrass::getGeometry(), and LLVOGrass::initClass().


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