OGRE
2.2.4
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) | |
void | getAsSphere (Sphere &out, size_t index) const |
void | getAsSphere (Sphere &out, size_t index) const |
void | getAsSphere (Sphere &out, size_t index) const |
Sphere | getAsSphere (size_t index) const |
Prefer using. More... | |
Sphere | getAsSphere (size_t index) const |
Prefer using. More... | |
Sphere | getAsSphere (size_t index) const |
Prefer using. More... | |
ArrayMaskR | intersects (const ArraySphere &s) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayReal | intersects (const ArraySphere &s) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayMaskR | intersects (const ArraySphere &s) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayMaskR | intersects (const ArrayAabb &aabb) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayMaskR | intersects (const ArrayAabb &aabb) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayReal | intersects (const ArrayAabb &aabb) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayReal | intersects (const ArrayVector3 &v) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayMaskR | intersects (const ArrayVector3 &v) const |
Returns whether or not this sphere intersects another sphere. More... | |
ArrayMaskR | intersects (const ArrayVector3 &v) const |
Returns whether or not this sphere intersects another sphere. More... | |
void | setAll (const Sphere &sphere) |
Sets all packed spheres to the same value as the scalar input sphere. More... | |
void | setAll (const Sphere &sphere) |
Sets all packed spheres to the same value as the scalar input sphere. More... | |
void | setAll (const Sphere &sphere) |
Sets all packed spheres to the same value as the scalar input sphere. More... | |
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 |
|
inline |
|
inline |
References Ogre::Sphere::setCenter(), and Ogre::Sphere::setRadius().
|
inline |
References Ogre::Sphere::setCenter(), and Ogre::Sphere::setRadius().
|
inline |
Prefer using.
|
inline |
Prefer using.
|
inline |
Prefer using.
|
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.
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 |
Sets all packed spheres to the same value as the scalar input sphere.
References Ogre::Sphere::getCenter(), Ogre::Sphere::getRadius(), Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
|
inline |
Sets all packed spheres to the same value as the scalar input sphere.
References Ogre::Sphere::getCenter(), Ogre::Sphere::getRadius(), Ogre::ArrayVector3::mChunkBase, Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
|
inline |
Sets all packed spheres to the same value as the scalar input sphere.
References Ogre::Sphere::getCenter(), Ogre::Sphere::getRadius(), Ogre::Vector3::x, Ogre::Vector3::y, and Ogre::Vector3::z.
|
inline |
References Ogre::Sphere::getCenter(), and Ogre::Sphere::getRadius().
|
inline |
References Ogre::Sphere::getCenter(), and Ogre::Sphere::getRadius().
|
inline |
ArrayVector3 Ogre::ArraySphere::mCenter |
ArrayReal Ogre::ArraySphere::mRadius |