Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
utils.h
Go to the documentation of this file.
1 /*
2  * utils.h
3  *
4  * Created : 5/29/2019
5  * Author : n-is
6  * email : 073bex421.nischal@pcampus.edu.np
7  */
8 
9 #ifndef _UTILS_H_
10 #define _UTILS_H_
11 
12 
13 inline float max_val(float x, float y)
14 {
15  return (x > y)? x : y;
16 }
17 
18 inline float min_val(float x, float y)
19 {
20  return (x < y)? x : y;
21 }
22 
23 #endif // !_UTILS_H_
float min_val(float x, float y)
Definition: utils.h:18
float max_val(float x, float y)
Definition: utils.h:13