projects
/
deeprace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adding goat3d to the project
[deeprace]
/
libs
/
cgmath
/
cgmray.inl
diff --git
a/libs/cgmath/cgmray.inl
b/libs/cgmath/cgmray.inl
index
063a7e0
..
c396a55
100644
(file)
--- a/
libs/cgmath/cgmray.inl
+++ b/
libs/cgmath/cgmray.inl
@@
-6,7
+6,7
@@
* If you intend to redistribute parts of the code without the LICENSE file
* replace this paragraph with the full contents of the LICENSE file.
*/
* If you intend to redistribute parts of the code without the LICENSE file
* replace this paragraph with the full contents of the LICENSE file.
*/
-static inline void cgm_rcons(cgm_ray *r, float x, float y, float z, float dx, float dy, float dz)
+static CGM_INLINE void cgm_rcons(cgm_ray *r, float x, float y, float z, float dx, float dy, float dz)
{
r->origin.x = x;
r->origin.y = y;
{
r->origin.x = x;
r->origin.y = y;
@@
-16,24
+16,24
@@
static inline void cgm_rcons(cgm_ray *r, float x, float y, float z, float dx, fl
r->dir.z = dz;
}
r->dir.z = dz;
}
-static inline void cgm_rmul_mr(cgm_ray *ray, const float *m)
+static CGM_INLINE void cgm_rmul_mr(cgm_ray *ray, const float *m)
{
cgm_vmul_m4v3(&ray->origin, m);
cgm_vmul_m3v3(&ray->dir, m);
}
{
cgm_vmul_m4v3(&ray->origin, m);
cgm_vmul_m3v3(&ray->dir, m);
}
-static inline void cgm_rmul_rm(cgm_ray *ray, const float *m)
+static CGM_INLINE void cgm_rmul_rm(cgm_ray *ray, const float *m)
{
cgm_vmul_v3m4(&ray->origin, m);
cgm_vmul_v3m3(&ray->dir, m);
}
{
cgm_vmul_v3m4(&ray->origin, m);
cgm_vmul_v3m3(&ray->dir, m);
}
-static inline void cgm_rreflect(cgm_ray *ray, const cgm_vec3 *n)
+static CGM_INLINE void cgm_rreflect(cgm_ray *ray, const cgm_vec3 *n)
{
cgm_vreflect(&ray->dir, n);
}
{
cgm_vreflect(&ray->dir, n);
}
-static inline void cgm_rrefract(cgm_ray *ray, const cgm_vec3 *n, float ior)
+static CGM_INLINE void cgm_rrefract(cgm_ray *ray, const cgm_vec3 *n, float ior)
{
cgm_vrefract(&ray->dir, n, ior);
}
{
cgm_vrefract(&ray->dir, n, ior);
}