File: Rotation.cs

package info (click to toggle)
gtkglarea-sharp 0.0.17-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,144 kB
  • ctags: 492
  • sloc: sh: 3,376; cs: 2,633; makefile: 421; xml: 126
file content (25 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

namespace GtkGL {
    using System;
    
    public class Rotation {
        
        public enum Direction {
        	Clockwise,
        	CounterClockwise
        }
 
        public float xRot, yRot, zRot;
        public Direction dir;
              
        public Rotation(Direction d, float xr, float yr, float zr)
        {
        	this.dir  = d;
        	this.xRot = xr;
        	this.yRot = yr;
        	this.zRot = zr;
        	
        }
    }
    
}