projects
/
erebus2020
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
dc0eb9872e1b2b5a28139355aaa5f27f5d2ba9e8
[erebus2020]
/
liberebus
/
src
/
util.c
1
#include "erebus.h"
2
3
void erb_xform_ray(struct erb_ray *ray, float *mat, cgm_vec3 *org, cgm_vec3 *dir)
4
{
5
*org = ray->o;
6
*dir = ray->d;
7
cgm_vmul_m4v3(org, mat);
8
cgm_vmul_m3v3(dir, mat);
9
}