/*
 * Bird functions
 */

#include <string.h>
#include "bird.h"

/*
 * set the position of a bird
 */

void bird_set_position (bird *my_bird, vec3 *new_position) {

  my_bird->position.x = new_position->x;
  my_bird->position.y = new_position->y;
  my_bird->position.z = new_position->z;

}

/*
 * get the position of a bird
 */

void bird_get_position (bird *my_bird, vec3 *new_position) {

  new_position->x = my_bird->position.x;
  new_position->y = my_bird->position.y;
  new_position->z = my_bird->position.z;

}

/*
 * set the heading of a bird
 */

void bird_set_heading (bird *my_bird, vec3 *new_heading) {

  my_bird->heading.x = new_heading->x;
  my_bird->heading.y = new_heading->y;
  my_bird->heading.z = new_heading->z;

}

/*
 * get the heading of a bird
 */

void bird_get_heading (bird *my_bird, vec3 *new_heading) {

  new_heading->x = my_bird->heading.x;
  new_heading->y = my_bird->heading.y;
  new_heading->z = my_bird->heading.z;

}

