opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
collision_tests.h File Reference
#include <liboscar/maths/ray_collision.h>
#include <liboscar/maths/vector.h>
#include <optional>
Include dependency graph for collision_tests.h:

Go to the source code of this file.

Namespaces

namespace  osc
 

Functions

bool osc::is_intersecting (const Rect &, const Vector2 &)
 
bool osc::is_intersecting (const FrustumPlanes &, const AABB &)
 
std::optional< RayCollisionosc::find_collision (const Ray &, const Sphere &)
 
std::optional< RayCollisionosc::find_collision (const Ray &, const AABB &)
 
std::optional< RayCollisionosc::find_collision (const Ray &, const Plane &)
 
std::optional< RayCollisionosc::find_collision (const Ray &, const Disc &)
 
std::optional< RayCollisionosc::find_collision (const Ray &, const Triangle &)