llrendersphere.cpp File Reference

implementation of the LLRenderSphere class. More...

#include "llviewerprecompiledheaders.h"
#include "llrendersphere.h"
#include "llerror.h"
#include "llglheaders.h"

Include dependency graph for llrendersphere.cpp:

Go to the source code of this file.

Functions

void drawSolidSphere (GLdouble radius, GLint slices, GLint stacks)
void lat2xyz (LLVector3 *result, F32 lat, F32 lon)
void lat2xyz_rad (LLVector3 *result, F32 lat, F32 lon)

Variables

GLUquadricObj * gQuadObj2 = NULL
LLRenderSphere gSphere


Detailed Description

implementation of the LLRenderSphere class.

LicenseInfo
firstyear=2001&license=internal

Copyright (c) 2001-2008, Linden Research, Inc.

The following source code is PROPRIETARY AND CONFIDENTIAL. Use of this source code is governed by the Linden Lab Source Code Disclosure Agreement ("Agreement") previously entered between you and Linden Lab. By accessing, using, copying, modifying or distributing this software, you acknowledge that you have been informed of your obligations under the Agreement 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 llrendersphere.cpp.


Function Documentation

void drawSolidSphere ( GLdouble  radius,
GLint  slices,
GLint  stacks 
)

Definition at line 37 of file llrendersphere.cpp.

References gQuadObj2, llendl, and llwarns.

Referenced by LLRenderSphere::prerender().

Here is the caller graph for this function:

void lat2xyz ( LLVector3 result,
F32  lat,
F32  lon 
)

Definition at line 61 of file llrendersphere.cpp.

References DEG_TO_RAD, LLVector3::mV, r, VX, VY, and VZ.

void lat2xyz_rad ( LLVector3 result,
F32  lat,
F32  lon 
)

Definition at line 82 of file llrendersphere.cpp.

References F_PI_BY_TWO, LLVector3::mV, r, VX, VY, and VZ.


Variable Documentation

GLUquadricObj* gQuadObj2 = NULL

Definition at line 32 of file llrendersphere.cpp.

Referenced by LLRenderSphere::cleanupGL(), and drawSolidSphere().


Generated on Fri May 16 08:37:05 2008 for SecondLife by  doxygen 1.5.5