Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Hemisphere Class Reference

A simple bounding hemisphere class for fast intersection testing. More...

#include <Hemisphere.h>

Public Member Functions

 AZ_TYPE_INFO (Hemisphere, "{B246E336-780E-494B-B330-0985025B7888}")
 
 Hemisphere (const Vector3 &center, float radius, const Vector3 &normalizedDirection)
 
Vector3 GetCenter () const
 
float GetRadius () const
 
const Vector3GetDirection () const
 
void SetCenter (const Vector3 &center)
 
void SetRadius (float radius)
 
void SetDirection (const Vector3 &direction)
 
bool operator== (const Hemisphere &rhs) const
 
bool operator!= (const Hemisphere &rhs) const
 

Static Public Member Functions

static Hemisphere CreateFromSphereAndDirection (const Sphere &sphere, const Vector3 &normalizedDirection)
 

Detailed Description

A simple bounding hemisphere class for fast intersection testing.


The documentation for this class was generated from the following files: