View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   
6   package cz.cuni.amis.pogamut.unreal.t3dgenerator.datatypes;
7   
8   import cz.cuni.amis.pogamut.unreal.t3dgenerator.annotations.UnrealDataType;
9   
10  /**
11   * Rotation of an object.
12   * @author Martin Cerny
13   */
14  @UnrealDataType
15  public class Rotation3D {
16      private int pitch;
17      private int yaw;
18      private int roll;
19  
20      public Rotation3D(int pitch, int yaw, int roll) {
21          this.pitch = pitch;
22          this.yaw = yaw;
23          this.roll = roll;
24      }
25  
26      public int getPitch() {
27          return pitch;
28      }
29  
30      public int getRoll() {
31          return roll;
32      }
33  
34      public int getYaw() {
35          return yaw;
36      }
37  
38  }