gKit2 light
Loading...
Searching...
No Matches
ray_less1 Struct Reference

Public Member Functions

 ray_less1 (const BBox &_bounds)
bool operator() (const RayHit &ray) const

Public Attributes

BBox bounds

Detailed Description

Definition at line 145 of file tuto_englobant.cpp.

Constructor & Destructor Documentation

◆ ray_less1()

ray_less1::ray_less1 ( const BBox & _bounds)
inline

Definition at line 149 of file tuto_englobant.cpp.

149: bounds(_bounds) {}

Member Function Documentation

◆ operator()()

bool ray_less1::operator() ( const RayHit & ray) const
inline

Definition at line 151 of file tuto_englobant.cpp.

152 {
153 return bounds.intersect(ray);
154 }

Member Data Documentation

◆ bounds

BBox ray_less1::bounds

Definition at line 147 of file tuto_englobant.cpp.


The documentation for this struct was generated from the following file: