version	U12.1.00
uid	modelobject3d.u1-1786291549-0
record	graphics3d__ModelObject3D__state,23
	0,__s
	1,__m
	2,model_file_name
	3,format
	4,rendering_mode
	5,lst_mesh
	6,scale_value
	7,label
	8,loc
	9,orientation_angles
	10,scalexyz
	11,color
	12,radius
	13,reference
	14,bb_max
	15,bb_min
	16,visible_section
	17,Txyz
	18,Rx
	19,Ry
	20,Rz
	21,Sxyz
	22,render_func
record	graphics3d__ModelObject3D__methods,41
	0,init
	1,load
	2,mesh_count
	3,vertex_count
	4,normals_count
	5,texture_coords_count
	6,face_count
	7,material_count
	8,texmaterial_count
	9,texture_files
	10,texture_files_count
	11,meshes
	12,addMesh
	13,flip_texcoord
	14,render_details
	15,translateBy
	16,rotateBy
	17,scaleBy
	18,normalize
	19,adjustScale
	20,calc_bounding_box
	21,initially
	22,render
	23,set_render_func
	24,refreshLoc
	25,refreshScale
	26,refreshRot
	27,set_location
	28,set_locationxyz
	29,move
	30,set_orientation
	31,set_orientationxyz
	32,set_reference
	33,set_referencexyz
	34,rotate
	35,show
	36,hide
	37,is_hidden
	38,is_colliding
	39,set_size_to
	40,graphics3d__BasicObject3D
impl	local
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/3d/basicobject3d.u
global	29
	0,000005,graphics3d__load3DModel,2
	1,000005,graphics3d__ModelObject3D_init,2
	2,000005,graphics3d__ModelObject3D_load,2
	3,000005,graphics3d__ModelObject3D_mesh_count,1
	4,000005,graphics3d__ModelObject3D_vertex_count,1
	5,000005,graphics3d__ModelObject3D_normals_count,1
	6,000005,graphics3d__ModelObject3D_texture_coords_count,1
	7,000005,graphics3d__ModelObject3D_face_count,1
	8,000005,graphics3d__ModelObject3D_material_count,1
	9,000005,graphics3d__ModelObject3D_texmaterial_count,1
	10,000005,graphics3d__ModelObject3D_texture_files,1
	11,000005,graphics3d__ModelObject3D_texture_files_count,1
	12,000005,graphics3d__ModelObject3D_meshes,1
	13,000005,graphics3d__ModelObject3D_addMesh,2
	14,000005,graphics3d__ModelObject3D_flip_texcoord,1
	15,000005,graphics3d__ModelObject3D_render_details,1
	16,000005,graphics3d__ModelObject3D_translateBy,4
	17,000005,graphics3d__ModelObject3D_rotateBy,3
	18,000005,graphics3d__ModelObject3D_scaleBy,2
	19,000005,graphics3d__ModelObject3D_normalize,2
	20,000005,graphics3d__ModelObject3D_adjustScale,5
	21,000005,graphics3d__ModelObject3D_calc_bounding_box,1
	22,000005,graphics3d__ModelObject3D_initially,2
	23,000011,graphics3d__ModelObject3D__state,23
	24,000011,graphics3d__ModelObject3D__methods,41
	25,000001,graphics3d__ModelObject3D__oprec,0
	26,000001,graphics3d__BasicObject3D__oprec,0
	27,000005,graphics3d__ModelObject3D,1
	28,000005,graphics3d__ModelObject3Dinitialize,0

proc graphics3d__load3DModel
	local	0,001000,filename
	local	1,001000,m3d
	local	2,000020,fin
	local	3,000000,graphics3d__ModelObject3D
	local	4,000000,map
	local	5,000000,graphics3d__S3DFile
	local	6,000000,graphics3d__XFile
	con	0,002000,1,4
	con	1,002000,1,0
	con	2,010000,4,056,163,063,144
	con	3,002000,1,2
	con	4,010000,2,056,170
	declend
	filen	modelobject3d.icn
	line	20
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	1
	line	22
	colm	5
	synt	any
	null
	var	3
	line	22
	colm	38
	synt	any
	invoke	0
	line	22
	colm	10
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	23
	colm	5
	synt	ifelse
	mark	L3
	pnull
	var	4
	pnull
	var	0
	pnull
	int	0
	line	23
	colm	21
	synt	any
	neg
	int	1
	line	23
	colm	23
	synt	any
	synt	any
	sect
	line	23
	colm	11
	synt	any
	invoke	1
	str	2
	line	23
	colm	28
	synt	any
	lexeq
	unmark
	mark	L5
	pnull
	var	2
	var	5
	line	24
	colm	34
	synt	any
	invoke	0
	line	24
	colm	12
	synt	any
	asgn
	unmark
lab L5
	pnull
	pnull
	var	1
	line	25
	colm	11
	synt	any
	field	format
	str	2
	line	25
	colm	18
	synt	any
	asgn
	goto	L4
lab L3
	line	27
	colm	10
	synt	ifelse
	mark	L6
	pnull
	var	4
	pnull
	var	0
	pnull
	int	3
	line	27
	colm	26
	synt	any
	neg
	int	1
	line	27
	colm	28
	synt	any
	synt	any
	sect
	line	27
	colm	16
	synt	any
	invoke	1
	str	4
	line	27
	colm	33
	synt	any
	lexeq
	unmark
	mark	L8
	pnull
	var	2
	var	6
	line	28
	colm	32
	synt	any
	invoke	0
	line	28
	colm	12
	synt	any
	asgn
	unmark
lab L8
	pnull
	pnull
	var	1
	line	29
	colm	11
	synt	any
	field	format
	str	4
	line	29
	colm	18
	synt	any
	asgn
	goto	L7
lab L6
	line	32
	colm	8
	synt	any
	pfail
lab L7
	line	27
	colm	10
	synt	endifelse
lab L4
	line	23
	colm	5
	synt	endifelse
	unmark
lab L2
	mark	L9
	line	34
	colm	5
	synt	ifelse
	mark	L10
	pnull
	var	2
	line	34
	colm	11
	synt	any
	field	load
	var	0
	var	1
	line	34
	colm	16
	synt	any
	invoke	2
	unmark
	mark	L12
	pnull
	line	35
	colm	8
	synt	any
	pret
lab L12
	synt	any
	pfail
	goto	L11
lab L10
	line	37
	colm	8
	synt	any
	pfail
lab L11
	line	34
	colm	5
	synt	endifelse
	unmark
lab L9
	pnull
	line	38
	colm	2
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_init
	local	0,001000,self
	local	1,001000,fname
	con	0,002000,1,1
	con	1,010000,6,165,156,153,157,167,156
	declend
	line	53
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	55
	colm	11
	synt	any
	field	scale_value
	int	0
	line	55
	colm	23
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	0
	line	56
	colm	11
	synt	any
	field	format
	str	1
	line	56
	colm	18
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	0
	line	58
	colm	11
	synt	any
	field	lst_mesh
	pnull
	line	58
	colm	22
	synt	any
	llist	0
	line	58
	colm	20
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	line	61
	colm	7
	synt	if
	mark0
	pnull
	var	1
	line	61
	colm	10
	synt	any
	nonnull
	unmark
	pnull
	var	0
	line	62
	colm	14
	synt	any
	field	load
	var	1
	line	62
	colm	19
	synt	any
	invoke	1
	line	61
	colm	7
	synt	endif
	unmark
lab L4
	pnull
	line	63
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_load
	local	0,001000,self
	local	1,001000,fname
	local	2,000020,tmp_cs
	local	3,000000,graphics3d__load3DModel
	con	0,002000,1,0
	con	1,010000,37,040,155,157,144,145,154,040,146,151,154,145,040,167,141,163,040,154,157,141,144,145,144,040,163,165,143,143,145,163,163,146,165,154,154,171,041,041
	declend
	line	67
	colm	11
	synt	any
	mark	L1
	line	70
	colm	7
	synt	if
	mark0
	var	3
	var	1
	var	0
	line	70
	colm	33
	synt	any
	invoke	2
	unmark
	mark	L2
	int	0
	var	1
	str	1
	line	71
	colm	11
	synt	any
	invoke	2
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	0
	line	72
	colm	14
	synt	any
	field	model_file_name
	var	1
	line	72
	colm	30
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	line	73
	colm	10
	synt	any
	pret
lab L4
	synt	any
	pfail
	line	70
	colm	7
	synt	endif
	unmark
lab L1
	pnull
	line	75
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_mesh_count
	local	0,001000,self
	declend
	line	78
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	var	0
	line	79
	colm	19
	synt	any
	field	lst_mesh
	line	79
	colm	14
	synt	any
	size
	line	79
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	80
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_vertex_count
	local	0,001000,self
	local	1,000020,c
	con	0,002000,1,0
	declend
	line	82
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	int	0
	line	83
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	84
	colm	7
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	84
	colm	23
	synt	any
	field	lst_mesh
	line	84
	colm	18
	synt	any
	bang
	line	84
	colm	33
	synt	any
	field	vertex_count
	line	84
	colm	46
	synt	any
	invoke	0
	line	84
	colm	14
	synt	any
	plus
	asgn
	pop
lab L3
	efail
lab L4
	line	84
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	85
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	86
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_normals_count
	local	0,001000,self
	local	1,000020,c
	con	0,002000,1,0
	declend
	line	88
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	int	0
	line	89
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	90
	colm	7
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	90
	colm	24
	synt	any
	field	lst_mesh
	line	90
	colm	19
	synt	any
	bang
	line	90
	colm	34
	synt	any
	field	normals_count
	line	90
	colm	48
	synt	any
	invoke	0
	line	90
	colm	14
	synt	any
	plus
	asgn
	pop
lab L3
	efail
lab L4
	line	90
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	91
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	92
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_texture_coords_count
	local	0,001000,self
	local	1,000020,c
	con	0,002000,1,0
	declend
	line	94
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	int	0
	line	95
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	96
	colm	7
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	96
	colm	23
	synt	any
	field	lst_mesh
	line	96
	colm	18
	synt	any
	bang
	line	96
	colm	33
	synt	any
	field	texture_coords_count
	line	96
	colm	54
	synt	any
	invoke	0
	line	96
	colm	14
	synt	any
	plus
	asgn
	pop
lab L3
	efail
lab L4
	line	96
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	97
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	98
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_face_count
	local	0,001000,self
	local	1,000020,c
	con	0,002000,1,0
	declend
	line	100
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	int	0
	line	101
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	102
	colm	6
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	102
	colm	22
	synt	any
	field	lst_mesh
	line	102
	colm	17
	synt	any
	bang
	line	102
	colm	32
	synt	any
	field	face_count
	line	102
	colm	43
	synt	any
	invoke	0
	line	102
	colm	13
	synt	any
	plus
	asgn
	pop
lab L3
	efail
lab L4
	line	102
	colm	6
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	103
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	104
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_material_count
	local	0,001000,self
	local	1,000020,c
	con	0,002000,1,0
	declend
	line	106
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	int	0
	line	107
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	108
	colm	6
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	108
	colm	22
	synt	any
	field	lst_mesh
	line	108
	colm	17
	synt	any
	bang
	line	108
	colm	32
	synt	any
	field	material_count
	line	108
	colm	47
	synt	any
	invoke	0
	line	108
	colm	13
	synt	any
	plus
	asgn
	pop
lab L3
	efail
lab L4
	line	108
	colm	6
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	109
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	110
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_texmaterial_count
	local	0,001000,self
	local	1,000020,c
	con	0,002000,1,0
	declend
	line	112
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	int	0
	line	113
	colm	14
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	114
	colm	7
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	114
	colm	23
	synt	any
	field	lst_mesh
	line	114
	colm	18
	synt	any
	bang
	line	114
	colm	33
	synt	any
	field	texmaterial_count
	line	114
	colm	51
	synt	any
	invoke	0
	line	114
	colm	14
	synt	any
	plus
	asgn
	pop
lab L3
	efail
lab L4
	line	114
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	1
	line	115
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	116
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_texture_files
	local	0,001000,self
	local	1,000020,s
	local	2,000020,L
	local	3,000000,set
	local	4,000000,put
	declend
	line	118
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	var	3
	line	119
	colm	19
	synt	any
	invoke	0
	line	119
	colm	14
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	2
	pnull
	line	119
	colm	26
	synt	any
	llist	0
	line	119
	colm	24
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	line	120
	colm	7
	synt	every
	mark0
	pnull
	var	1
	dup
	pnull
	pnull
	pnull
	var	0
	line	120
	colm	24
	synt	any
	field	lst_mesh
	line	120
	colm	19
	synt	any
	bang
	line	120
	colm	34
	synt	any
	field	texture_files
	line	120
	colm	48
	synt	any
	invoke	0
	line	120
	colm	14
	synt	any
	unions
	asgn
	pop
lab L4
	efail
lab L5
	line	120
	colm	7
	synt	endevery
	unmark
lab L3
	mark	L6
	line	121
	colm	7
	synt	every
	mark0
	var	4
	var	2
	pnull
	var	1
	line	121
	colm	20
	synt	any
	bang
	line	121
	colm	16
	synt	any
	invoke	2
	pop
lab L7
	efail
lab L8
	line	121
	colm	7
	synt	endevery
	unmark
lab L6
	mark	L9
	mark	L10
	var	2
	line	122
	colm	7
	synt	any
	pret
lab L10
	synt	any
	pfail
	unmark
lab L9
	pnull
	line	123
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_texture_files_count
	local	0,001000,self
	declend
	line	125
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	var	0
	line	126
	colm	19
	synt	any
	field	texture_files
	line	126
	colm	33
	synt	any
	invoke	0
	line	126
	colm	14
	synt	any
	size
	line	126
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	127
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_meshes
	local	0,001000,self
	declend
	line	129
	colm	11
	synt	any
	mark	L1
	line	130
	colm	7
	synt	every
	mark0
	line	130
	colm	13
	synt	suspend
	mark0
	pnull
	pnull
	var	0
	line	130
	colm	26
	synt	any
	field	lst_mesh
	line	130
	colm	21
	synt	any
	bang
	line	130
	colm	13
	synt	any
	psusp
	pop
lab L4
	efail
lab L5
	line	130
	colm	13
	synt	endsuspend
	pop
lab L2
	efail
lab L3
	line	130
	colm	7
	synt	endevery
	unmark
lab L1
	pnull
	line	131
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_addMesh
	local	0,001000,self
	local	1,001000,mesh
	local	2,000000,put
	declend
	line	133
	colm	11
	synt	any
	mark	L1
	var	2
	pnull
	var	0
	line	134
	colm	15
	synt	any
	field	lst_mesh
	var	1
	line	134
	colm	10
	synt	any
	invoke	2
	unmark
lab L1
	pnull
	line	135
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_flip_texcoord
	local	0,001000,self
	declend
	line	137
	colm	11
	synt	any
	mark	L1
	line	138
	colm	7
	synt	every
	mark0
	pnull
	pnull
	pnull
	var	0
	line	138
	colm	19
	synt	any
	field	lst_mesh
	line	138
	colm	14
	synt	any
	bang
	line	138
	colm	29
	synt	any
	field	flip_texcoord
	line	138
	colm	43
	synt	any
	invoke	0
	pop
lab L2
	efail
lab L3
	line	138
	colm	7
	synt	endevery
	unmark
lab L1
	pnull
	line	139
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_render_details
	local	0,001000,self
	local	1,000020,mesh
	con	0,002000,1,0
	con	1,010000,33,040,012,122,145,156,144,145,162,151,156,147,040,155,157,144,145,154,056,056,056,056,056,056,056,056,056,056,056,056,056,056,056,040
	con	2,010000,15,162,145,156,144,145,162,151,156,147,040,155,145,163,150,040
	declend
	line	141
	colm	11
	synt	any
	mark	L1
	int	0
	str	1
	pnull
	var	0
	line	144
	colm	51
	synt	any
	field	label
	line	144
	colm	8
	synt	any
	invoke	2
	unmark
lab L1
	mark	L2
	line	146
	colm	7
	synt	every
	mark0
	pnull
	var	1
	pnull
	pnull
	var	0
	line	146
	colm	26
	synt	any
	field	lst_mesh
	line	146
	colm	21
	synt	any
	bang
	line	146
	colm	18
	synt	any
	asgn
	pop
	mark0
	mark	L5
	int	0
	str	2
	pnull
	var	1
	line	147
	colm	35
	synt	any
	field	label
	line	147
	colm	11
	synt	any
	invoke	2
	unmark
lab L5
	pnull
	var	1
	line	148
	colm	14
	synt	any
	field	render
	line	148
	colm	21
	synt	any
	invoke	0
	unmark
lab L3
	efail
lab L4
	line	146
	colm	7
	synt	endevery
	unmark
lab L2
	pnull
	line	150
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_translateBy
	local	0,001000,self
	local	1,001000,tx
	local	2,001000,ty
	local	3,001000,tz
	declend
	line	152
	colm	11
	synt	any
	mark	L1
	line	153
	colm	7
	synt	every
	mark0
	pnull
	pnull
	pnull
	var	0
	line	153
	colm	19
	synt	any
	field	lst_mesh
	line	153
	colm	14
	synt	any
	bang
	line	153
	colm	29
	synt	any
	field	translate_vx
	var	1
	var	2
	var	3
	line	153
	colm	42
	synt	any
	invoke	3
	pop
lab L2
	efail
lab L3
	line	153
	colm	7
	synt	endevery
	unmark
lab L1
	pnull
	line	154
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_rotateBy
	local	0,001000,self
	local	1,001000,angle
	local	2,001000,axis
	declend
	line	156
	colm	11
	synt	any
	mark	L1
	line	157
	colm	7
	synt	every
	mark0
	pnull
	pnull
	pnull
	var	0
	line	157
	colm	19
	synt	any
	field	lst_mesh
	line	157
	colm	14
	synt	any
	bang
	line	157
	colm	29
	synt	any
	field	rotate_vx
	var	1
	var	2
	line	157
	colm	39
	synt	any
	invoke	2
	pop
lab L2
	efail
lab L3
	line	157
	colm	7
	synt	endevery
	unmark
lab L1
	pnull
	line	158
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_scaleBy
	local	0,001000,self
	local	1,001000,s
	declend
	line	160
	colm	11
	synt	any
	mark	L1
	line	161
	colm	7
	synt	every
	mark0
	pnull
	pnull
	pnull
	var	0
	line	161
	colm	19
	synt	any
	field	lst_mesh
	line	161
	colm	14
	synt	any
	bang
	line	161
	colm	29
	synt	any
	field	scale_vx
	var	1
	line	161
	colm	38
	synt	any
	invoke	1
	pop
lab L2
	efail
lab L3
	line	161
	colm	7
	synt	endevery
	unmark
lab L1
	pnull
	line	162
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_normalize
	local	0,001000,self
	local	1,001000,factor
	local	2,000020,d
	local	3,000020,dx
	local	4,000020,dy
	local	5,000020,dz
	local	6,000020,mesh
	local	7,000020,tx
	local	8,000020,ty
	local	9,000020,tz
	local	10,000000,real
	con	0,004000,1.0
	con	1,004000,2.0
	declend
	line	164
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	line	167
	colm	11
	synt	any
	field	calc_bounding_box
	line	167
	colm	29
	synt	any
	invoke	0
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	1
	line	169
	colm	7
	synt	any
	null
	real	0
	line	169
	colm	15
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	var	3
	pnull
	pnull
	pnull
	var	0
	line	171
	colm	17
	synt	any
	field	bb_max
	line	171
	colm	24
	synt	any
	field	x
	pnull
	pnull
	var	0
	line	171
	colm	31
	synt	any
	field	bb_min
	line	171
	colm	38
	synt	any
	field	x
	line	171
	colm	26
	synt	any
	minus
	line	171
	colm	10
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	var	4
	pnull
	pnull
	pnull
	var	0
	line	172
	colm	17
	synt	any
	field	bb_max
	line	172
	colm	24
	synt	any
	field	y
	pnull
	pnull
	var	0
	line	172
	colm	31
	synt	any
	field	bb_min
	line	172
	colm	38
	synt	any
	field	y
	line	172
	colm	26
	synt	any
	minus
	line	172
	colm	10
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	5
	pnull
	pnull
	pnull
	var	0
	line	173
	colm	17
	synt	any
	field	bb_max
	line	173
	colm	24
	synt	any
	field	z
	pnull
	pnull
	var	0
	line	173
	colm	31
	synt	any
	field	bb_min
	line	173
	colm	38
	synt	any
	field	z
	line	173
	colm	26
	synt	any
	minus
	line	173
	colm	10
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	7
	pnull
	pnull
	pnull
	var	3
	line	175
	colm	13
	synt	any
	neg
	real	1
	line	175
	colm	17
	synt	any
	div
	pnull
	pnull
	var	0
	line	175
	colm	29
	synt	any
	field	bb_min
	line	175
	colm	36
	synt	any
	field	x
	line	175
	colm	23
	synt	any
	minus
	line	175
	colm	10
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	8
	pnull
	pnull
	pnull
	var	0
	line	176
	colm	18
	synt	any
	field	bb_min
	line	176
	colm	25
	synt	any
	field	y
	line	176
	colm	13
	synt	any
	neg
	line	176
	colm	10
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	var	9
	pnull
	pnull
	pnull
	var	5
	line	177
	colm	13
	synt	any
	neg
	real	1
	line	177
	colm	17
	synt	any
	div
	pnull
	pnull
	var	0
	line	177
	colm	29
	synt	any
	field	bb_min
	line	177
	colm	36
	synt	any
	field	z
	line	177
	colm	23
	synt	any
	minus
	line	177
	colm	10
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	line	180
	colm	7
	synt	ifelse
	mark	L10
	pnull
	var	3
	var	4
	line	180
	colm	12
	synt	any
	numgt
	pop
	pnull
	var	3
	var	5
	line	180
	colm	20
	synt	any
	numgt
	unmark
	pnull
	var	2
	var	3
	line	181
	colm	11
	synt	any
	asgn
	goto	L11
lab L10
	line	182
	colm	12
	synt	ifelse
	mark	L12
	pnull
	var	4
	var	5
	line	182
	colm	17
	synt	any
	numgt
	unmark
	pnull
	var	2
	var	4
	line	183
	colm	11
	synt	any
	asgn
	goto	L13
lab L12
	pnull
	var	2
	var	5
	line	185
	colm	11
	synt	any
	asgn
lab L13
	line	182
	colm	12
	synt	endifelse
lab L11
	line	180
	colm	7
	synt	endifelse
	unmark
lab L9
	mark	L14
	pnull
	pnull
	var	0
	line	187
	colm	11
	synt	any
	field	scale_value
	pnull
	var	10
	var	1
	line	187
	colm	29
	synt	any
	invoke	1
	var	2
	line	187
	colm	37
	synt	any
	div
	line	187
	colm	23
	synt	any
	asgn
	unmark
lab L14
	mark	L15
	pnull
	var	0
	line	188
	colm	11
	synt	any
	field	translateBy
	var	7
	var	8
	var	9
	line	188
	colm	23
	synt	any
	invoke	3
	unmark
lab L15
	mark	L16
	line	190
	colm	7
	synt	every
	mark0
	pnull
	var	6
	pnull
	pnull
	var	0
	line	190
	colm	25
	synt	any
	field	lst_mesh
	line	190
	colm	20
	synt	any
	bang
	line	190
	colm	17
	synt	any
	asgn
	pop
	mark0
	pnull
	var	6
	line	191
	colm	14
	synt	any
	field	scale_vx
	pnull
	var	0
	line	191
	colm	28
	synt	any
	field	scale_value
	line	191
	colm	23
	synt	any
	invoke	1
	unmark
lab L17
	efail
lab L18
	line	190
	colm	7
	synt	endevery
	unmark
lab L16
	pnull
	line	192
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_adjustScale
	local	0,001000,self
	local	1,001000,adjust_value
	local	2,001000,adjust_axis
	local	3,001000,angle
	local	4,001000,axis
	local	5,000020,d
	local	6,000020,dx
	local	7,000020,dy
	local	8,000020,dz
	local	9,000020,tx
	local	10,000020,ty
	local	11,000020,tz
	local	12,000000,real
	con	0,004000,1.0
	con	1,010000,1,171
	con	2,004000,2.0
	con	3,010000,1,170
	con	4,010000,1,172
	con	5,002000,1,0
	con	6,010000,19,040,167,162,157,156,147,040,163,143,141,154,145,040,141,170,151,163,041,040
	declend
	line	200
	colm	11
	synt	any
	mark	L1
	pnull
	var	0
	line	203
	colm	11
	synt	any
	field	calc_bounding_box
	line	203
	colm	29
	synt	any
	invoke	0
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	1
	line	205
	colm	7
	synt	any
	null
	real	0
	line	205
	colm	21
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	2
	line	206
	colm	7
	synt	any
	null
	str	1
	line	206
	colm	20
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	var	7
	pnull
	pnull
	pnull
	var	0
	line	208
	colm	17
	synt	any
	field	bb_max
	line	208
	colm	24
	synt	any
	field	y
	pnull
	pnull
	var	0
	line	208
	colm	31
	synt	any
	field	bb_min
	line	208
	colm	38
	synt	any
	field	y
	line	208
	colm	26
	synt	any
	minus
	line	208
	colm	10
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	pnull
	var	6
	pnull
	pnull
	pnull
	var	0
	line	209
	colm	17
	synt	any
	field	bb_max
	line	209
	colm	24
	synt	any
	field	x
	pnull
	pnull
	var	0
	line	209
	colm	31
	synt	any
	field	bb_min
	line	209
	colm	38
	synt	any
	field	x
	line	209
	colm	26
	synt	any
	minus
	line	209
	colm	10
	synt	any
	asgn
	unmark
lab L5
	mark	L6
	pnull
	var	8
	pnull
	pnull
	pnull
	var	0
	line	210
	colm	17
	synt	any
	field	bb_max
	line	210
	colm	24
	synt	any
	field	z
	pnull
	pnull
	var	0
	line	210
	colm	31
	synt	any
	field	bb_min
	line	210
	colm	38
	synt	any
	field	z
	line	210
	colm	26
	synt	any
	minus
	line	210
	colm	10
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	var	9
	pnull
	pnull
	pnull
	var	6
	line	212
	colm	13
	synt	any
	neg
	real	2
	line	212
	colm	17
	synt	any
	div
	pnull
	pnull
	var	0
	line	212
	colm	29
	synt	any
	field	bb_min
	line	212
	colm	36
	synt	any
	field	x
	line	212
	colm	23
	synt	any
	minus
	line	212
	colm	10
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	pnull
	var	10
	pnull
	pnull
	pnull
	var	7
	line	213
	colm	13
	synt	any
	neg
	real	2
	line	213
	colm	17
	synt	any
	div
	pnull
	pnull
	var	0
	line	213
	colm	29
	synt	any
	field	bb_min
	line	213
	colm	36
	synt	any
	field	y
	line	213
	colm	23
	synt	any
	minus
	line	213
	colm	10
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	var	11
	pnull
	pnull
	pnull
	var	8
	line	214
	colm	13
	synt	any
	neg
	real	2
	line	214
	colm	17
	synt	any
	div
	pnull
	pnull
	var	0
	line	214
	colm	29
	synt	any
	field	bb_min
	line	214
	colm	36
	synt	any
	field	z
	line	214
	colm	23
	synt	any
	minus
	line	214
	colm	10
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	line	216
	colm	7
	synt	case
	mark0
	var	2
	eret
	mark	L12
	ccase
	str	1
	line	217
	colm	14
	synt	any
	eqv
	unmark
	pop
	pnull
	var	5
	var	7
	line	217
	colm	18
	synt	any
	asgn
	goto	L11
lab L12
	mark	L13
	ccase
	str	3
	line	218
	colm	14
	synt	any
	eqv
	unmark
	pop
	pnull
	var	5
	var	6
	line	218
	colm	18
	synt	any
	asgn
	goto	L11
lab L13
	mark	L14
	ccase
	str	4
	line	219
	colm	14
	synt	any
	eqv
	unmark
	pop
	pnull
	var	5
	var	8
	line	219
	colm	18
	synt	any
	asgn
	goto	L11
lab L14
	pop
	mark	L15
	int	5
	str	6
	var	2
	line	221
	colm	14
	synt	any
	invoke	2
	unmark
lab L15
	line	222
	colm	13
	synt	any
	pfail
lab L11
	line	216
	colm	7
	synt	endcase
	unmark
lab L10
	mark	L16
	pnull
	pnull
	var	0
	line	226
	colm	11
	synt	any
	field	scale_value
	pnull
	var	12
	var	1
	line	226
	colm	29
	synt	any
	invoke	1
	var	5
	line	226
	colm	43
	synt	any
	div
	line	226
	colm	23
	synt	any
	asgn
	unmark
lab L16
	mark	L17
	pnull
	var	0
	line	228
	colm	11
	synt	any
	field	translateBy
	var	9
	var	10
	var	11
	line	228
	colm	23
	synt	any
	invoke	3
	unmark
lab L17
	mark	L18
	line	230
	colm	7
	synt	if
	mark0
	pnull
	var	3
	line	230
	colm	10
	synt	any
	nonnull
	unmark
	pnull
	var	0
	line	231
	colm	14
	synt	any
	field	rotateBy
	var	3
	var	4
	line	231
	colm	23
	synt	any
	invoke	2
	line	230
	colm	7
	synt	endif
	unmark
lab L18
	mark	L19
	pnull
	var	0
	line	233
	colm	11
	synt	any
	field	scaleBy
	pnull
	var	0
	line	233
	colm	24
	synt	any
	field	scale_value
	line	233
	colm	19
	synt	any
	invoke	1
	unmark
lab L19
	pnull
	line	234
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_calc_bounding_box
	local	0,001000,self
	local	1,000020,i
	local	2,000020,mesh
	con	0,002000,1,1
	con	1,002000,1,2
	declend
	line	245
	colm	11
	synt	any
	mark	L1
	pnull
	var	2
	pnull
	pnull
	var	0
	line	248
	colm	20
	synt	any
	field	lst_mesh
	int	0
	line	248
	colm	29
	synt	any
	subsc
	line	248
	colm	13
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	2
	line	249
	colm	12
	synt	any
	field	calc_bounding_box
	line	249
	colm	30
	synt	any
	invoke	0
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	0
	line	250
	colm	12
	synt	any
	field	bb_min
	pnull
	var	2
	line	250
	colm	25
	synt	any
	field	bb_min
	line	250
	colm	19
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	pnull
	pnull
	var	0
	line	251
	colm	12
	synt	any
	field	bb_max
	pnull
	var	2
	line	251
	colm	25
	synt	any
	field	bb_max
	line	251
	colm	19
	synt	any
	asgn
	unmark
lab L4
	mark	L5
	line	253
	colm	8
	synt	every
	mark0
	pnull
	var	1
	pnull
	int	1
	pnull
	pnull
	var	0
	line	253
	colm	28
	synt	any
	field	lst_mesh
	line	253
	colm	23
	synt	any
	size
	push1
	line	253
	colm	19
	synt	any
	toby
	line	253
	colm	15
	synt	any
	asgn
	pop
	mark0
	mark	L8
	pnull
	var	2
	pnull
	pnull
	var	0
	line	254
	colm	23
	synt	any
	field	lst_mesh
	var	1
	line	254
	colm	32
	synt	any
	subsc
	line	254
	colm	16
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	var	2
	line	255
	colm	15
	synt	any
	field	calc_bounding_box
	line	255
	colm	33
	synt	any
	invoke	0
	unmark
lab L9
	mark	L10
	line	257
	colm	11
	synt	if
	mark0
	mark	L11
	pnull
	pnull
	pnull
	var	0
	line	257
	colm	23
	synt	any
	field	bb_min
	line	257
	colm	30
	synt	any
	field	x
	dup
	pnull
	pnull
	var	2
	line	257
	colm	39
	synt	any
	field	bb_min
	line	257
	colm	46
	synt	any
	field	x
	line	257
	colm	32
	synt	any
	numgt
	asgn
	unmark
	efail
lab L11
	pnull
	unmark
	pnull
	pnull
	pnull
	var	0
	line	258
	colm	18
	synt	any
	field	bb_max
	line	258
	colm	25
	synt	any
	field	x
	dup
	pnull
	pnull
	var	2
	line	258
	colm	34
	synt	any
	field	bb_max
	line	258
	colm	41
	synt	any
	field	x
	line	258
	colm	27
	synt	any
	numlt
	asgn
	line	257
	colm	11
	synt	endif
	unmark
lab L10
	mark	L12
	line	260
	colm	11
	synt	if
	mark0
	mark	L13
	pnull
	pnull
	pnull
	var	0
	line	260
	colm	23
	synt	any
	field	bb_min
	line	260
	colm	30
	synt	any
	field	y
	dup
	pnull
	pnull
	var	2
	line	260
	colm	39
	synt	any
	field	bb_min
	line	260
	colm	46
	synt	any
	field	y
	line	260
	colm	32
	synt	any
	numgt
	asgn
	unmark
	efail
lab L13
	pnull
	unmark
	pnull
	pnull
	pnull
	var	0
	line	261
	colm	18
	synt	any
	field	bb_max
	line	261
	colm	25
	synt	any
	field	y
	dup
	pnull
	pnull
	var	2
	line	261
	colm	34
	synt	any
	field	bb_max
	line	261
	colm	41
	synt	any
	field	y
	line	261
	colm	27
	synt	any
	numlt
	asgn
	line	260
	colm	11
	synt	endif
	unmark
lab L12
	line	263
	colm	11
	synt	if
	mark0
	mark	L14
	pnull
	pnull
	pnull
	var	0
	line	263
	colm	22
	synt	any
	field	bb_min
	line	263
	colm	29
	synt	any
	field	z
	dup
	pnull
	pnull
	var	2
	line	263
	colm	38
	synt	any
	field	bb_min
	line	263
	colm	45
	synt	any
	field	z
	line	263
	colm	31
	synt	any
	numgt
	asgn
	unmark
	efail
lab L14
	pnull
	unmark
	pnull
	pnull
	pnull
	var	0
	line	264
	colm	18
	synt	any
	field	bb_max
	line	264
	colm	25
	synt	any
	field	z
	dup
	pnull
	pnull
	var	2
	line	264
	colm	34
	synt	any
	field	bb_max
	line	264
	colm	41
	synt	any
	field	z
	line	264
	colm	27
	synt	any
	numlt
	asgn
	line	263
	colm	11
	synt	endif
	unmark
lab L6
	efail
lab L7
	line	253
	colm	8
	synt	endevery
	unmark
lab L5
	pnull
	line	266
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D_initially
	local	0,001000,self
	local	1,001000,myname
	local	2,000000,list
	con	0,010000,1,077
	declend
	line	268
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	0
	line	270
	colm	11
	synt	any
	field	graphics3d__BasicObject3D
	line	270
	colm	37
	synt	any
	field	initially
	var	1
	line	270
	colm	47
	synt	any
	invoke	1
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	0
	line	271
	colm	11
	synt	any
	field	format
	str	0
	line	271
	colm	18
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	pnull
	pnull
	var	0
	line	272
	colm	11
	synt	any
	field	lst_mesh
	var	2
	line	272
	colm	26
	synt	any
	invoke	0
	line	272
	colm	20
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	mark	L5
	pnull
	line	273
	colm	7
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	274
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3D
	local	0,001000,myname
	local	1,000020,self
	local	2,000020,clone
	local	3,000000,graphics3d__ModelObject3D__oprec
	local	4,000000,graphics3d__ModelObject3Dinitialize
	local	5,000000,graphics3d__BasicObject3D__oprec
	local	6,000000,graphics3d__BasicObject3Dinitialize
	local	7,000000,graphics3d__ModelObject3D__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	3
	line	8
	colm	6
	synt	any
	null
	unmark
	var	4
	line	8
	colm	80
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L4
	mark	L5
	line	9
	colm	3
	synt	if
	mark0
	pnull
	var	5
	line	9
	colm	6
	synt	any
	null
	unmark
	var	6
	line	9
	colm	80
	synt	any
	invoke	0
	line	9
	colm	3
	synt	endif
	unmark
lab L5
	pnull
	pnull
	var	3
	line	10
	colm	35
	synt	any
	field	graphics3d__BasicObject3D
	var	5
	line	10
	colm	62
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L6
	pnull
	var	1
	var	7
	line	12
	colm	44
	synt	any
	keywd	null
	var	3
	line	12
	colm	43
	synt	any
	invoke	2
	line	12
	colm	8
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	pnull
	var	1
	line	13
	colm	7
	synt	any
	field	__s
	var	1
	line	13
	colm	12
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	mark	L9
	pnull
	pnull
	var	1
	line	14
	colm	7
	synt	any
	field	__m
	line	14
	colm	11
	synt	any
	field	initially
	var	1
	var	0
	line	14
	colm	21
	synt	any
	invoke	2
	line	14
	colm	35
	synt	any
	esusp
	goto	L10
lab L9
	line	14
	colm	37
	synt	any
	pfail
lab L10
	unmark
lab L8
	mark	L11
	mark	L12
	var	1
	line	15
	colm	3
	synt	any
	pret
lab L12
	synt	any
	pfail
	unmark
lab L11
	pnull
	line	16
	colm	1
	synt	any
	pfail
	end
proc graphics3d__ModelObject3Dinitialize
	local	0,000000,graphics3d__ModelObject3D__oprec
	local	1,000000,graphics3d__ModelObject3D__methods
	local	2,000000,graphics3d__ModelObject3D_init
	local	3,000000,graphics3d__ModelObject3D_load
	local	4,000000,graphics3d__ModelObject3D_mesh_count
	local	5,000000,graphics3d__ModelObject3D_vertex_count
	local	6,000000,graphics3d__ModelObject3D_normals_count
	local	7,000000,graphics3d__ModelObject3D_texture_coords_count
	local	8,000000,graphics3d__ModelObject3D_face_count
	local	9,000000,graphics3d__ModelObject3D_material_count
	local	10,000000,graphics3d__ModelObject3D_texmaterial_count
	local	11,000000,graphics3d__ModelObject3D_texture_files
	local	12,000000,graphics3d__ModelObject3D_texture_files_count
	local	13,000000,graphics3d__ModelObject3D_meshes
	local	14,000000,graphics3d__ModelObject3D_addMesh
	local	15,000000,graphics3d__ModelObject3D_flip_texcoord
	local	16,000000,graphics3d__ModelObject3D_render_details
	local	17,000000,graphics3d__ModelObject3D_translateBy
	local	18,000000,graphics3d__ModelObject3D_rotateBy
	local	19,000000,graphics3d__ModelObject3D_scaleBy
	local	20,000000,graphics3d__ModelObject3D_normalize
	local	21,000000,graphics3d__ModelObject3D_adjustScale
	local	22,000000,graphics3d__ModelObject3D_calc_bounding_box
	local	23,000000,graphics3d__ModelObject3D_initially
	local	24,000000,graphics3d__BasicObject3D_render
	local	25,000000,graphics3d__BasicObject3D_set_render_func
	local	26,000000,graphics3d__BasicObject3D_refreshLoc
	local	27,000000,graphics3d__BasicObject3D_refreshScale
	local	28,000000,graphics3d__BasicObject3D_refreshRot
	local	29,000000,graphics3d__BasicObject3D_set_location
	local	30,000000,graphics3d__BasicObject3D_set_locationxyz
	local	31,000000,graphics3d__BasicObject3D_move
	local	32,000000,graphics3d__BasicObject3D_set_orientation
	local	33,000000,graphics3d__BasicObject3D_set_orientationxyz
	local	34,000000,graphics3d__BasicObject3D_set_reference
	local	35,000000,graphics3d__BasicObject3D_set_referencexyz
	local	36,000000,graphics3d__BasicObject3D_rotate
	local	37,000000,graphics3d__BasicObject3D_show
	local	38,000000,graphics3d__BasicObject3D_hide
	local	39,000000,graphics3d__BasicObject3D_is_hidden
	local	40,000000,graphics3d__BasicObject3D_is_colliding
	local	41,000000,graphics3d__BasicObject3D_set_size_to
	declend
	line	18
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	var	7
	var	8
	var	9
	var	10
	var	11
	var	12
	var	13
	var	14
	var	15
	var	16
	var	17
	var	18
	var	19
	var	20
	var	21
	var	22
	var	23
	var	24
	var	25
	var	26
	var	27
	var	28
	var	29
	var	30
	var	31
	var	32
	var	33
	var	34
	var	35
	var	36
	var	37
	var	38
	var	39
	var	40
	var	41
	line	19
	colm	81
	synt	any
	invoke	40
	line	19
	colm	44
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	20
	colm	1
	synt	any
	pfail
	end
