projects
/
erebus2020
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
foo
[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
}