ext/audio.c
void Init_ray_audio() {
  ray_mAudio = rb_define_module_under(ray_mRay, "Audio");
  rb_define_module_function(ray_mAudio, "volume", ray_audio_volume, 0);
  rb_define_module_function(ray_mAudio, "volume=", ray_audio_set_volume, 1);
  rb_define_module_function(ray_mAudio, "pos", ray_audio_pos, 0);
  rb_define_module_function(ray_mAudio, "pos=", ray_audio_set_pos, 1);
  rb_define_module_function(ray_mAudio, "direction", ray_audio_direction, 0);
  rb_define_module_function(ray_mAudio, "direction=", ray_audio_set_direction, 1);
}
/*
 * Document-class: Ray::Audio
 *
 * Ray.:Audio is used to manipulate the state of the listener, through global
 * parameters such as volume or position in the 3D world.
 */
Document-class: Ray::Audio
Ray.:Audio is used to manipulate the state of the listener, through global
parameters such as volume or position in the 3D world.
Document - class : Ray :: Audio Ray . : Audio is used to manipulate the state of the listener through global parameters such as volume or position in the 3D world .
void Init_ray_audio() {
  ray_mAudio = rb_define_module_under(ray_mRay, "Audio");
  rb_define_module_function(ray_mAudio, "volume", ray_audio_volume, 0);
  rb_define_module_function(ray_mAudio, "volume=", ray_audio_set_volume, 1);
  rb_define_module_function(ray_mAudio, "pos", ray_audio_pos, 0);
  rb_define_module_function(ray_mAudio, "pos=", ray_audio_set_pos, 1);
  rb_define_module_function(ray_mAudio, "direction", ray_audio_direction, 0);
  rb_define_module_function(ray_mAudio, "direction=", ray_audio_set_direction, 1);
}
void Init_ray_audio ( ) { ray_mAudio = rb_define_module_under ( ray_mRay , " " ) ; rb_define_module_function ( ray_mAudio , " " , ray_audio_volume , 0 ) ; rb_define_module_function ( ray_mAudio , " " , ray_audio_set_volume , 1 ) ; rb_define_module_function ( ray_mAudio , " " , ray_audio_pos , 0 ) ; rb_define_module_function ( ray_mAudio , " " , ray_audio_set_pos , 1 ) ; rb_define_module_function ( ray_mAudio , " " , ray_audio_direction , 0 ) ; rb_define_module_function ( ray_mAudio , " " , ray_audio_set_direction , 1 ) ; }
Document-class: Ray::Audio
 Ray.
Document - class : Ray :: Audio Ray .