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

Public Member Functions

bool operator() (const vec3 &a, const vec3 &b) const

Detailed Description

Definition at line 14 of file tuto_mesh_shader.cpp.

Member Function Documentation

◆ operator()()

bool vec3_less::operator() ( const vec3 & a,
const vec3 & b ) const
inline

Definition at line 16 of file tuto_mesh_shader.cpp.

17 {
18 if(a.x != b.x)
19 return a.x < b.x;
20 if(a.y != b.y)
21 return a.y < b.y;
22 if(a.z != b.z)
23 return a.z < b.z;
24 return false;
25 }

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