OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Cache-friendly array of Sphere represented as a SoA array. More...
#include <OgreArraySphere.h>
Public Member Functions | |
ArraySphere () | |
ArraySphere () | |
ArraySphere () | |
ArraySphere (const ArrayReal &radius, const ArrayVector3 ¢er) | |
ArraySphere (const ArrayReal &radius, const ArrayVector3 ¢er) | |
ArraySphere (const ArrayReal &radius, const ArrayVector3 ¢er) | |
Sphere | getAsSphere (size_t index) const |
Prefer using. | |
Sphere | getAsSphere (size_t index) const |
Prefer using. | |
Sphere | getAsSphere (size_t index) const |
Prefer using. | |
void | getAsSphere (Sphere &out, size_t index) const |
void | getAsSphere (Sphere &out, size_t index) const |
void | getAsSphere (Sphere &out, size_t index) const |
ArrayMaskR | intersects (const ArrayAabb &aabb) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayMaskR | intersects (const ArrayAabb &aabb) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayReal | intersects (const ArrayAabb &aabb) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayMaskR | intersects (const ArraySphere &s) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayMaskR | intersects (const ArraySphere &s) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayReal | intersects (const ArraySphere &s) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayMaskR | intersects (const ArrayVector3 &v) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayMaskR | intersects (const ArrayVector3 &v) const |
Returns whether or not this sphere intersects another sphere. | |
ArrayReal | intersects (const ArrayVector3 &v) const |
Returns whether or not this sphere intersects another sphere. | |
void | setAll (const Sphere &sphere) |
Sets all packed spheres to the same value as the scalar input sphere. | |
void | setAll (const Sphere &sphere) |
Sets all packed spheres to the same value as the scalar input sphere. | |
void | setAll (const Sphere &sphere) |
Sets all packed spheres to the same value as the scalar input sphere. | |
void | setFromSphere (const Sphere &sphere, size_t index) |
void | setFromSphere (const Sphere &sphere, size_t index) |
void | setFromSphere (const Sphere &sphere, size_t index) |
Public Attributes | |
ArrayVector3 | mCenter |
ArrayReal | mRadius |
Cache-friendly array of Sphere represented as a SoA array.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Prefer using.
Prefer using.
Prefer using.
References Ogre::ArrayVector3::getAsVector3().
|
inline |
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
|
inline |
Returns whether or not this sphere intersects another sphere.
Sets all packed spheres to the same value as the scalar input sphere.
References Ogre::ArrayVector3::mChunkBase, Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
Sets all packed spheres to the same value as the scalar input sphere.
References Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
Sets all packed spheres to the same value as the scalar input sphere.
References Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
References Ogre::ArrayVector3::setFromVector3().
ArrayVector3 Ogre::ArraySphere::mCenter |
ArrayReal Ogre::ArraySphere::mRadius |