OGRE-Next
4.0.0unstable
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. More... | |
Sphere | getAsSphere (size_t index) const |
Prefer using. More... | |
Sphere | getAsSphere (size_t index) const |
Prefer using. More... | |
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. 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... | |
ArrayMaskR | 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... | |
ArrayReal | intersects (const ArraySphere &s) 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... | |
ArrayReal | 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 |
Prefer using.
|
inline |
Prefer using.
|
inline |
Prefer using.
|
inline |
|
inline |
References Ogre::Sphere::setCenter(), and Ogre::Sphere::setRadius().
|
inline |
References Ogre::Sphere::setCenter(), and Ogre::Sphere::setRadius().
|
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.
|
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 |
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 |
|
inline |
References Ogre::Sphere::getCenter(), and Ogre::Sphere::getRadius().
|
inline |
References Ogre::Sphere::getCenter(), and Ogre::Sphere::getRadius().
ArrayVector3 Ogre::ArraySphere::mCenter |
ArrayReal Ogre::ArraySphere::mRadius |