Method: Snow::Vec3Array#size
- Defined in:
- ext/snow-math/snow-math.c
#size ⇒ Object
Returns the length of the array.
call-seq: length -> fixnum
563 564 565 566 567 |
# File 'ext/snow-math/snow-math.c', line 563
static VALUE sm_vec3_array_size(VALUE sm_self)
{
size_t length = NUM2SIZET(sm_mathtype_array_length(sm_self));
return SIZET2NUM(length * sizeof(vec3_t));
}
|