Blender V5.3
GEO_xpbd_constraint_math.hh File Reference
#include "BLI_math_vector.hh"
#include <optional>

Go to the source code of this file.

Classes

struct  blender::xpbd::PlaneIntersection
struct  blender::xpbd::SegmentClosestToRay

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::xpbd

Functions

std::optional< PlaneIntersection > blender::xpbd::intersect_plane (const float3 &pos0, const float3 &pos1, const float3 &origin, const float3 &edge, const float3 &normal)
SegmentClosestToRay blender::xpbd::closest_on_segment_to_ray (const float3 &pos0, const float3 &pos1, const float3 &ray_pos, const float3 &ray_dir, const bool clamp)