17 lines
No EOL
628 B
Text
17 lines
No EOL
628 B
Text
/*
|
|
contributors: Patricio Gonzalez Vivo, Anton Marini
|
|
description: lessThan polyfill
|
|
use: <bool2|bool3|bool4> lessThan(<float2|float3|float4>, <float2|float3|float4>)
|
|
license:
|
|
- Copyright (c) 2021 Patricio Gonzalez Vivo under Prosperity License - https://prosperitylicense.com/versions/3.0.0
|
|
- Copyright (c) 2021 Patricio Gonzalez Vivo under Patron License - https://lygia.xyz/license
|
|
*/
|
|
|
|
#ifndef FNC_LESSTHAN
|
|
#define FNC_LESSTHAN
|
|
|
|
inline bool2 lessThan(float2 x, float2 y) { return x < y; }
|
|
inline bool3 lessThan(float3 x, float3 y) { return x < y; }
|
|
inline bool4 lessThan(float4 x, float4 y) { return x < y; }
|
|
|
|
#endif |