Y
yue_nicholas
Hi,
I need to define two constant of array type, what is the recommended
way to do that?
rb_define_const(module, "MASK", ...mask value...is float[4][4]);
rb_define_const(module, "LIGHTTINT", ...color value...is float[3]);
I have seen example for string and integer but not for arrays.
Cheers
I need to define two constant of array type, what is the recommended
way to do that?
rb_define_const(module, "MASK", ...mask value...is float[4][4]);
rb_define_const(module, "LIGHTTINT", ...color value...is float[3]);
I have seen example for string and integer but not for arrays.
Cheers