v4coloru.h File Reference

The LLColor4U class. More...

#include "llerror.h"
#include "llmath.h"
#include "v3color.h"
#include "v4color.h"

Include dependency graph for v4coloru.h:

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

Go to the source code of this file.

Classes

class  LLColor4U

Functions

F32 distVec (const LLColor4U &a, const LLColor4U &b)
F32 distVec_squared (const LLColor4U &a, const LLColor4U &b)
LLColor4U operator+ (const LLColor4U &a, const LLColor4U &b)
LLColor4U operator- (const LLColor4U &a, const LLColor4U &b)
LLColor4U operator * (const LLColor4U &a, const LLColor4U &b)
bool operator== (const LLColor4U &a, const LLColor4U &b)
bool operator!= (const LLColor4U &a, const LLColor4U &b)
const LLColor4Uoperator+= (LLColor4U &a, const LLColor4U &b)
const LLColor4Uoperator-= (LLColor4U &a, const LLColor4U &b)
const LLColor4Uoperator *= (LLColor4U &a, U8 k)
const LLColor4Uoperator%= (LLColor4U &a, U8 k)

Variables

static const U32 LENGTHOFCOLOR4U = 4


Detailed Description

The LLColor4U 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 v4coloru.h.


Function Documentation

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

Definition at line 407 of file v4coloru.h.

References a, b, and LLColor4U::magVec().

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

Definition at line 413 of file v4coloru.h.

References a, b, and LLColor4U::magVecSquared().

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

Definition at line 289 of file v4coloru.h.

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

const LLColor4U& operator *= ( LLColor4U a,
U8  k 
) [inline]

Definition at line 391 of file v4coloru.h.

References a, VX, VY, and VZ.

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

Definition at line 365 of file v4coloru.h.

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

const LLColor4U& operator%= ( LLColor4U a,
U8  k 
) [inline]

Definition at line 400 of file v4coloru.h.

References a, and VW.

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

Definition at line 271 of file v4coloru.h.

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

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

Definition at line 373 of file v4coloru.h.

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

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

Definition at line 280 of file v4coloru.h.

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

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

Definition at line 382 of file v4coloru.h.

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

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

Definition at line 357 of file v4coloru.h.

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


Variable Documentation

const U32 LENGTHOFCOLOR4U = 4 [static]

Definition at line 48 of file v4coloru.h.


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