v3color.h File Reference

LLColor3 class header file. More...

#include "llerror.h"
#include "llmath.h"
#include "llsd.h"

Include dependency graph for v3color.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLColor3

Functions

LLColor3 lerp (const LLColor3 &a, const LLColor3 &b, F32 u)
F32 distVec (const LLColor3 &a, const LLColor3 &b)
F32 distVec_squared (const LLColor3 &a, const LLColor3 &b)
LLColor3 operator+ (const LLColor3 &a, const LLColor3 &b)
LLColor3 operator- (const LLColor3 &a, const LLColor3 &b)
LLColor3 operator* (const LLColor3 &a, const LLColor3 &b)
LLColor3 operator* (const LLColor3 &a, F32 k)
LLColor3 operator* (F32 k, const LLColor3 &a)
bool operator== (const LLColor3 &a, const LLColor3 &b)
bool operator!= (const LLColor3 &a, const LLColor3 &b)
const LLColor3operator*= (LLColor3 &a, const LLColor3 &b)
const LLColor3operator+= (LLColor3 &a, const LLColor3 &b)
const LLColor3operator-= (LLColor3 &a, const LLColor3 &b)
const LLColor3operator*= (LLColor3 &a, F32 k)
LLColor3 operator- (const LLColor3 &a)

Variables

static const U32 LENGTHOFCOLOR3 = 3


Detailed Description

LLColor3 class header file.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-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 v3color.h.


Function Documentation

F32 distVec ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 371 of file v3color.h.

References fsqrtf, and LLColor3::mV.

F32 distVec_squared ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 379 of file v3color.h.

References LLColor3::mV.

LLColor3 lerp ( const LLColor3 a,
const LLColor3 b,
F32  u 
) [inline]

Definition at line 387 of file v3color.h.

References LLColor3::LLColor3(), LLColor3::mV, VX, VY, and VZ.

Here is the call graph for this function:

bool operator!= ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 322 of file v3color.h.

References LLColor3::mV.

LLColor3 operator* ( F32  k,
const LLColor3 a 
) [inline]

Definition at line 310 of file v3color.h.

References LLColor3::LLColor3(), and LLColor3::mV.

Here is the call graph for this function:

LLColor3 operator* ( const LLColor3 a,
F32  k 
) [inline]

Definition at line 305 of file v3color.h.

References LLColor3::LLColor3(), and LLColor3::mV.

Here is the call graph for this function:

LLColor3 operator* ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 297 of file v3color.h.

References LLColor3::LLColor3(), and LLColor3::mV.

Here is the call graph for this function:

const LLColor3& operator*= ( LLColor3 a,
F32  k 
) [inline]

Definition at line 353 of file v3color.h.

References LLColor3::mV.

const LLColor3& operator*= ( LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 329 of file v3color.h.

References LLColor3::mV.

LLColor3 operator+ ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 281 of file v3color.h.

References LLColor3::LLColor3(), and LLColor3::mV.

Here is the call graph for this function:

const LLColor3& operator+= ( LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 337 of file v3color.h.

References LLColor3::mV.

LLColor3 operator- ( const LLColor3 a  )  [inline]

Definition at line 361 of file v3color.h.

References LLColor3::LLColor3(), and LLColor3::mV.

Here is the call graph for this function:

LLColor3 operator- ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 289 of file v3color.h.

References LLColor3::LLColor3(), and LLColor3::mV.

Here is the call graph for this function:

const LLColor3& operator-= ( LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 345 of file v3color.h.

References LLColor3::mV.

bool operator== ( const LLColor3 a,
const LLColor3 b 
) [inline]

Definition at line 315 of file v3color.h.

References LLColor3::mV.


Variable Documentation

const U32 LENGTHOFCOLOR3 = 3 [static]

Definition at line 44 of file v3color.h.


Generated on Fri May 16 08:35:17 2008 for SecondLife by  doxygen 1.5.5