aboutsummaryrefslogtreecommitdiff
path: root/include/BH/Math/Vec4i.h
blob: 683d0eb116839e7d46db2586375b39c9fd42c61a (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
47
#ifndef BH_MATH_VEC4I_H
#define BH_MATH_VEC4I_H

#include "../Common.h"


void BH_Vec4iAdd(const int a[4],
                 const int b[4],
                 int out[4]);


void BH_Vec4iSub(const int a[4],
                 const int b[4],
                 int out[4]);


void BH_Vec4iMul(const int a[4],
                 const int b[4],
                 int out[4]);


void BH_Vec4iScale(const int a[4],
                   int b,
                   int out[4]);


void BH_Vec4iMulAdd(const int a[4],
                    const int b[4],
                    const int c[4],
                    int out[4]);


void BH_Vec4iNegate(const int in[4],
                    int out[4]);


void BH_Vec4iMin(const int a[4],
                 const int b[4],
                 int out[4]);


void BH_Vec4iMax(const int a[4],
                 const int b[4],
                 int out[4]);


#endif /* BH_MATH_VEC4I */