Sirikata
|
#include <sirikata/mesh/Platform.hpp>
#include <sirikata/mesh/Bounds.hpp>
#include <sirikata/mesh/Raytrace.hpp>
Namespaces | |
namespace | Sirikata |
Note: All the classes provided in this file are thin wrappers around the corresponding classes in ASIO. | |
namespace | Sirikata::Mesh |
Functions | |
bool | Sirikata::Mesh::RaytraceTriangle (const Vector3f &v1, const Vector3f &v2, const Vector3f &v3, const Vector3f &normal, const Vector3f &ray_start, const Vector3f &ray_dir, bool positive_side, bool negative_side, float32 *t_out) |
Raytraces a single triangle. | |
bool | Sirikata::Mesh::RaytraceSphere (const Vector3f ¢er, float32 radius, const Vector3f &ray_start, const Vector3f &ray_dir, bool discard_inside, float32 *t_out) |
Raytraces a sphere. | |
bool | Sirikata::Mesh::RaytraceTriangle (const Vector3f &v1, const Vector3f &v2, const Vector3f &v3, const Vector3f &ray_start, const Vector3f &ray_dir, float32 *t_out) |
Raytraces a single triangle. | |
bool | Sirikata::Mesh::RaytraceSphere (const Vector3f ¢er, float32 radius, const Vector3f &ray_start, const Vector3f &ray_dir, float32 *t_out) |
Raytraces a sphere. | |
SIRIKATA_MESH_FUNCTION_EXPORT bool | Sirikata::Mesh::Raytrace (VisualPtr vis, const Matrix4x4f &vis_xform, const Vector3f &ray_start, const Vector3f &ray_dir, float32 *t_out, Vector3f *hit_out) |
Traces a ray an returns information about the first point it hits on an the mesh. | |
SIRIKATA_MESH_FUNCTION_EXPORT bool | Sirikata::Mesh::RaytraceType (MeshdataPtr vis, const Matrix4x4f &vis_xform, const Vector3f &ray_start, const Vector3f &ray_dir, float32 *t_out, Vector3f *hit_out) |
SIRIKATA_MESH_FUNCTION_EXPORT bool | Sirikata::Mesh::RaytraceType (BillboardPtr vis, const Matrix4x4f &vis_xform, const Vector3f &ray_start, const Vector3f &ray_dir, float32 *t_out, Vector3f *hit_out) |