dofile(LockOn_Options.script_path.."UVHF/indicator/UVHF_definitions.lua")

local half_width   = GetScale()
local half_height  = GetAspect() * half_width

local aspect       = GetAspect()

UVHF_base					= CreateElement "ceMeshPoly"
UVHF_base.name				= "UVHF_DISPLAY"
UVHF_base.material			= MakeMaterial(nil,{0,255,0,50})
UVHF_base.h_clip_relation	= h_clip_relations.REWRITE_LEVEL
UVHF_base.level				= UVHF_DEFAULT_LEVEL
UVHF_base.collimated		= false
UVHF_base.isvisible			= false
UVHF_base.z_emable			= true
UVHF_base.vertices			= { {-1, aspect}, { 1,aspect}, { 1,-aspect}, {-1,-aspect}, }
UVHF_base.indices			=  {0, 1, 2; 0, 2, 3 }
Add(UVHF_base)
