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-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 v3color.h.


Function Documentation

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

Definition at line 362 of file v3color.h.

References a, b, fsqrtf, x, y, and z.

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

Definition at line 370 of file v3color.h.

References a, b, x, y, and z.

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

Definition at line 378 of file v3color.h.

References a, b, VX, VY, and VZ.

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

Definition at line 301 of file v3color.h.

References a.

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

Definition at line 296 of file v3color.h.

References a.

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

Definition at line 288 of file v3color.h.

References a, and b.

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

Definition at line 344 of file v3color.h.

References a.

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

Definition at line 320 of file v3color.h.

References a, and b.

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

Definition at line 313 of file v3color.h.

References a, and b.

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

Definition at line 272 of file v3color.h.

References a, and b.

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

Definition at line 328 of file v3color.h.

References a, and b.

LLColor3 operator- ( const LLColor3 a  )  [inline]

Definition at line 352 of file v3color.h.

References a, and f.

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

Definition at line 280 of file v3color.h.

References a, and b.

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

Definition at line 336 of file v3color.h.

References a, and b.

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

Definition at line 306 of file v3color.h.

References a, and b.


Variable Documentation

const U32 LENGTHOFCOLOR3 = 3 [static]

Definition at line 43 of file v3color.h.


Generated on Thu Jul 1 06:11:02 2010 for Second Life Viewer by  doxygen 1.4.7