class
	GAME_HAPTIC_SPHERICAL_DIRECTION

General
	cluster: haptic
	description: 
		"Represent the direction that an effect come from (an not where
		it goes, be carefull). Direction is encoded by two rotation
		(the azimuth and inclination). Cardinal directions
		of the haptic device are relative to the positioning of the device. 
		North is considered to be away from the user, south is toward the user, 
		east is right, and west is left of the user:
		
		               .--.
		               |__| .-------.
		               |=.| |.-----.|
		               |--| ||     ||
		               |  | |'-----'|
		               |__|~')_____('
		                [ COMPUTER ]
		
		
		                 North (27000)
		                      ^
		                      |
		                      |
		(18000) West <----[ HAPTIC ]----> East (0)
		                      |
		                      |
		                      v
		                 South (9000)
		
		
		                 [ USER ]
		                   \|||/
		                   (o o)
		             ---ooO-(_)-Ooo---"
	create: make_from_other, make, make_with_azimuth, make_with_azimuth_and_inclination

Ancestors
	GAME_HAPTIC_DIRECTION

Queries
	azimuth: INTEGER_32
	exists: BOOLEAN
	inclination: INTEGER_32
	is_cartesian: BOOLEAN
	is_equal (a_other: [like Current] GAME_HAPTIC_SPHERICAL_DIRECTION): BOOLEAN
	is_polar: BOOLEAN
	is_spherical: BOOLEAN
	is_values_equal (a_other: GAME_HAPTIC_DIRECTION): BOOLEAN
	item: POINTER
	shared: BOOLEAN
	structure_size: INTEGER_32

Commands
	make
	make_by_pointer (a_ptr: POINTER)
	set_azimuth (a_azimuth: INTEGER_32)
	set_inclination (a_inclination: INTEGER_32)

Constraints
	type valid


Generated by ISE EiffelStudio