math.cpp File Reference

Tests for the llmath library. More...

#include "linden_common.h"
#include "lltut.h"
#include "llcrc.h"
#include "llline.h"
#include "llmath.h"
#include "llrand.h"
#include "llsphere.h"
#include "lluuid.h"
#include "v3math.h"

Include dependency graph for math.cpp:

Go to the source code of this file.

Namespaces

namespace  tut

Classes

struct  tut::math_data
struct  tut::uuid_data
struct  tut::crc_data
struct  tut::sphere_data
struct  tut::line_data

Typedefs

typedef test_group< math_data > tut::math_test
typedef math_test::object tut::math_object
typedef test_group< uuid_data > tut::uuid_test
typedef uuid_test::object tut::uuid_object
typedef test_group< crc_data > tut::crc_test
typedef crc_test::object tut::crc_object
typedef test_group< sphere_data > tut::sphere_test
typedef sphere_test::object tut::sphere_object
typedef test_group< line_data > tut::line_test
typedef line_test::object tut::line_object

Functions

tut::math_test tut::tm ("basic_linden_math")
tut::uuid_test tut::tu ("uuid")
tut::crc_test tut::tc ("crc")
tut::sphere_test tut::tsphere ("LLSphere")
tut::line_test tut::tline ("LLLine")

Variables

F32 tut::SMALL_RADIUS = 1.0f
F32 tut::MEDIUM_RADIUS = 5.0f
F32 tut::LARGE_RADIUS = 10.0f
F32 tut::ALMOST_PARALLEL = 0.99f


Detailed Description

Tests for the llmath library.

Author:
Phoenix
Date:
2005-09-26
LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-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 math.cpp.


Generated on Fri May 16 08:38:18 2008 for SecondLife by  doxygen 1.5.5