llviewerpartsim.cpp File Reference

LLViewerPart class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llviewerpartsim.h"
#include "llviewercontrol.h"
#include "llagent.h"
#include "llviewercamera.h"
#include "llviewerobjectlist.h"
#include "llviewerpartsource.h"
#include "llviewerregion.h"
#include "llvopartgroup.h"
#include "llworld.h"
#include "pipeline.h"
#include "llspatialpartition.h"

Include dependency graph for llviewerpartsim.cpp:

Go to the source code of this file.

Functions

F32 calc_desired_size (LLVector3 pos, LLVector2 scale)

Variables

const F32 PART_SIM_BOX_SIDE = 16.f
const F32 PART_SIM_BOX_OFFSET = 0.5f*PART_SIM_BOX_SIDE
const F32 PART_SIM_BOX_RAD = 0.5f*F_SQRT3*PART_SIM_BOX_SIDE


Detailed Description

LLViewerPart class implementation.

LicenseInfo
firstyear=2003&license=viewergpl

Copyright (c) 2003-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 llviewerpartsim.cpp.


Function Documentation

F32 calc_desired_size ( LLVector3  pos,
LLVector2  scale 
)

Definition at line 71 of file llviewerpartsim.cpp.

References LLSingleton< LLViewerCamera >::getInstance(), LLCoordFrame::getOrigin(), llclamp(), LLVector2::magVec(), and PART_SIM_BOX_SIDE.

Referenced by LLViewerPartSim::put(), and LLViewerPartGroup::updateParticles().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const F32 PART_SIM_BOX_OFFSET = 0.5f*PART_SIM_BOX_SIDE

Definition at line 49 of file llviewerpartsim.cpp.

const F32 PART_SIM_BOX_RAD = 0.5f*F_SQRT3*PART_SIM_BOX_SIDE

Definition at line 50 of file llviewerpartsim.cpp.

const F32 PART_SIM_BOX_SIDE = 16.f

Definition at line 48 of file llviewerpartsim.cpp.

Referenced by calc_desired_size().


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