projects
/
erebus2020
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
foo
[erebus2020]
/
liberebus
/
src
/
util.c
diff --git a/liberebus/src/util.c
b/liberebus/src/util.c
new file mode 100644
(file)
index 0000000..
a52f35a
--- /dev/null
+++ b/
liberebus/src/util.c
@@ -0,0
+1,7
@@
+#include "erebus.h"
+
+void erb_xform_ray(struct erb_ray *ray, float *mat)
+{
+ cgm_vmul_m4v3(&ray->o, mat);
+ cgm_vmul_m3v3(&ray->d, mat);
+}