projects
/
csrpg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c27193
)
fixed incorrect function names
author
matthew
<matthew@owens.tech>
Sun, 29 Jul 2018 19:13:44 +0000
(19:13 +0000)
committer
matthew
<matthew@owens.tech>
Sun, 29 Jul 2018 19:13:44 +0000
(19:13 +0000)
common/point.c
patch
|
blob
|
history
diff --git
a/common/point.c
b/common/point.c
index
0e480e8
..
3eecf1a
100644
(file)
--- a/
common/point.c
+++ b/
common/point.c
@@
-25,14
+25,14
@@
Point4i point4i(int w, int x, int y, int z)
return p;
}
-Point2f point2f(
int x, in
t y)
+Point2f point2f(
float x, floa
t y)
{
Point2f p;
p.x = x;
p.y = y;
return p;
}
-Point3f point3f(
int x, int y, in
t z)
+Point3f point3f(
float x, float y, floa
t z)
{
Point3f p;
p.x = x;
@@
-40,7
+40,7
@@
Point3f point3f(int x, int y, int z)
p.z = z;
return p;
}
-Point4f point4f(
int w, int x, int y, in
t z)
+Point4f point4f(
float w, float x, float y, floa
t z)
{
Point4f p;
p.w = w;