Method: Snow::Mat4Array#size
- Defined in:
- ext/snow-math/snow-math.c
#size ⇒ Object
Returns the length of the array.
call-seq: length -> fixnum
1522 1523 1524 1525 1526 |
# File 'ext/snow-math/snow-math.c', line 1522 static VALUE sm_mat4_array_size(VALUE sm_self) { size_t length = NUM2SIZET(sm_mathtype_array_length(sm_self)); return SIZET2NUM(length * sizeof(mat4_t)); } |