llheadrotmotion.cpp File Reference

Implementation of LLHeadRotMotion class. More...

#include "linden_common.h"
#include "llheadrotmotion.h"
#include "llcharacter.h"
#include "llrand.h"
#include "m3math.h"
#include "v3dmath.h"
#include "llcriticaldamp.h"

Include dependency graph for llheadrotmotion.cpp:

Go to the source code of this file.

Variables

const F32 TORSO_LAG = 0.35f
const F32 NECK_LAG = 0.5f
const F32 HEAD_LOOKAT_LAG_HALF_LIFE = 0.15f
const F32 TORSO_LOOKAT_LAG_HALF_LIFE = 0.27f
const F32 EYE_LOOKAT_LAG_HALF_LIFE = 0.06f
const F32 HEAD_ROTATION_CONSTRAINT = F_PI_BY_TWO * 0.8f
const F32 MIN_HEAD_LOOKAT_DISTANCE = 0.3f
const F32 MAX_TIME_DELTA = 2.f
const F32 EYE_JITTER_MIN_TIME = 0.3f
const F32 EYE_JITTER_MAX_TIME = 2.5f
const F32 EYE_JITTER_MAX_YAW = 0.08f
const F32 EYE_JITTER_MAX_PITCH = 0.015f
const F32 EYE_LOOK_AWAY_MIN_TIME = 5.f
const F32 EYE_LOOK_AWAY_MAX_TIME = 15.f
const F32 EYE_LOOK_BACK_MIN_TIME = 1.f
const F32 EYE_LOOK_BACK_MAX_TIME = 5.f
const F32 EYE_LOOK_AWAY_MAX_YAW = 0.15f
const F32 EYE_LOOK_AWAY_MAX_PITCH = 0.12f
const F32 EYE_ROT_LIMIT_ANGLE = F_PI_BY_TWO * 0.3f
const F32 EYE_BLINK_MIN_TIME = 0.5f
const F32 EYE_BLINK_MAX_TIME = 8.f
const F32 EYE_BLINK_CLOSE_TIME = 0.03f
const F32 EYE_BLINK_SPEED = 0.015f
const F32 EYE_BLINK_TIME_DELTA = 0.005f


Detailed Description

Implementation of LLHeadRotMotion class.

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 llheadrotmotion.cpp.


Variable Documentation

const F32 EYE_BLINK_CLOSE_TIME = 0.03f

Definition at line 70 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_BLINK_MAX_TIME = 8.f

Definition at line 69 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_BLINK_MIN_TIME = 0.5f

Definition at line 68 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_BLINK_SPEED = 0.015f

Definition at line 71 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_BLINK_TIME_DELTA = 0.005f

Definition at line 72 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_JITTER_MAX_PITCH = 0.015f

Definition at line 59 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_JITTER_MAX_TIME = 2.5f

Definition at line 57 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_JITTER_MAX_YAW = 0.08f

Definition at line 58 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_JITTER_MIN_TIME = 0.3f

Definition at line 56 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOK_AWAY_MAX_PITCH = 0.12f

Definition at line 65 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOK_AWAY_MAX_TIME = 15.f

Definition at line 61 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOK_AWAY_MAX_YAW = 0.15f

Definition at line 64 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOK_AWAY_MIN_TIME = 5.f

Definition at line 60 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOK_BACK_MAX_TIME = 5.f

Definition at line 63 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOK_BACK_MIN_TIME = 1.f

Definition at line 62 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 EYE_LOOKAT_LAG_HALF_LIFE = 0.06f

Definition at line 51 of file llheadrotmotion.cpp.

const F32 EYE_ROT_LIMIT_ANGLE = F_PI_BY_TWO * 0.3f

Definition at line 66 of file llheadrotmotion.cpp.

Referenced by LLEyeMotion::onUpdate().

const F32 HEAD_LOOKAT_LAG_HALF_LIFE = 0.15f

Definition at line 49 of file llheadrotmotion.cpp.

Referenced by LLHeadRotMotion::onUpdate().

const F32 HEAD_ROTATION_CONSTRAINT = F_PI_BY_TWO * 0.8f

Definition at line 52 of file llheadrotmotion.cpp.

Referenced by LLHeadRotMotion::onUpdate().

const F32 MAX_TIME_DELTA = 2.f

Definition at line 55 of file llheadrotmotion.cpp.

const F32 MIN_HEAD_LOOKAT_DISTANCE = 0.3f

Definition at line 54 of file llheadrotmotion.cpp.

Referenced by LLHeadRotMotion::onUpdate().

const F32 NECK_LAG = 0.5f

Definition at line 48 of file llheadrotmotion.cpp.

Referenced by LLHeadRotMotion::onUpdate().

const F32 TORSO_LAG = 0.35f

Definition at line 47 of file llheadrotmotion.cpp.

Referenced by LLHeadRotMotion::onUpdate().

const F32 TORSO_LOOKAT_LAG_HALF_LIFE = 0.27f

Definition at line 50 of file llheadrotmotion.cpp.

Referenced by LLHeadRotMotion::onUpdate().


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