/* call-seq: * player.rot -> Float * * This method returns the current rotation angle of the player. */ static VALUE playerRecord_getRot(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return rb_float_new(playerRecord->rot); }