llhudicon.cpp File Reference

LLHUDIcon class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llhudicon.h"
#include "llgl.h"
#include "llviewerobject.h"
#include "lldrawable.h"
#include "llviewercamera.h"
#include "llviewerimage.h"
#include "llviewerwindow.h"

Include dependency graph for llhudicon.cpp:

Go to the source code of this file.

Functions

static F32 calc_bouncy_animation (F32 x)

Variables

const F32 ANIM_TIME = 0.4f
const F32 DIST_START_FADE = 15.f
const F32 DIST_END_FADE = 30.f
const F32 MAX_VISIBLE_TIME = 15.f
const F32 FADE_OUT_TIME = 1.f


Detailed Description

LLHUDIcon class implementation.

LicenseInfo
firstyear=2006&license=viewergpl

Copyright (c) 2006-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 llhudicon.cpp.


Function Documentation

static F32 calc_bouncy_animation ( F32  x  )  [static]

Definition at line 56 of file llhudicon.cpp.

References cosf, f, F_PI, and F_PI_BY_TWO.

Referenced by LLVOAvatar::idleUpdate(), and LLHUDIcon::renderIcon().


Variable Documentation

const F32 ANIM_TIME = 0.4f

Definition at line 47 of file llhudicon.cpp.

Referenced by LLHUDIcon::renderIcon().

const F32 DIST_END_FADE = 30.f

Definition at line 49 of file llhudicon.cpp.

Referenced by LLHUDIcon::renderIcon().

const F32 DIST_START_FADE = 15.f

Definition at line 48 of file llhudicon.cpp.

Referenced by LLHUDIcon::renderIcon().

const F32 FADE_OUT_TIME = 1.f

Definition at line 51 of file llhudicon.cpp.

Referenced by LLHUDIcon::renderIcon().

const F32 MAX_VISIBLE_TIME = 15.f

Definition at line 50 of file llhudicon.cpp.

Referenced by LLHUDIcon::renderIcon().


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