aboutsummaryrefslogtreecommitdiff
path: root/include/BH/Math/Vec3i.h
blob: c1972a5146637180759699d00906cadff2ca75fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef BH_MATH_VEC3I_H
#define BH_MATH_VEC3I_H

#include "../Common.h"

void BH_Vec3iAdd(const int a[3],
                 const int b[3],
                 int out[3]);


void BH_Vec3iSub(const int a[3],
                 const int b[3],
                 int out[3]);


void BH_Vec3iMul(const int a[3],
                 const int b[3],
                 int out[3]);


void BH_Vec3iScale(const int a[3],
                   int b,
                   int out[3]);


void BH_Vec3iMulAdd(const int a[3],
                    const int b[3],
                    const int c[3],
                    int out[3]);


void BH_Vec3iNegate(const int in[3],
                    int out[3]);


void BH_Vec3iMin(const int a[3],
                 const int b[3],
                 int out[3]);


void BH_Vec3iMax(const int a[3],
                 const int b[3],
                 int out[3]);


#endif /* BH_MATH_VEC3I */