Skip to content

Commit bf96c09

Browse files
committed
getter functions initialized
1 parent c844269 commit bf96c09

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

point_utils.c

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include "fdf.h"
2+
3+
unsigned long get_z(unsigned long point)
4+
{
5+
return (point >> 32);
6+
}
7+
8+
unsigned long get_color(unsigned long point)
9+
{
10+
return (point & COLOR_MASK);
11+
}

0 commit comments

Comments
 (0)