forked from hkc/cc-stuff
wallhack: adjust look direction line color
This commit is contained in:
parent
59e404f9e9
commit
cc36335042
|
@ -82,13 +82,13 @@ return function()
|
||||||
local entityLookEnd = vec3Add(entityFront, entityLook)
|
local entityLookEnd = vec3Add(entityFront, entityLook)
|
||||||
if entityFront.flipped then
|
if entityFront.flipped then
|
||||||
cache[id].cube.setColor(0x004040FF)
|
cache[id].cube.setColor(0x004040FF)
|
||||||
cache[id].lookLine.setColor(0x004040FF)
|
cache[id].lookLine.setColor(0x206060FF)
|
||||||
else
|
else
|
||||||
cache[id].cube.setColor(0xFFC0C0FF)
|
cache[id].cube.setColor(0xFFC0C0FF)
|
||||||
cache[id].lookLine.setColor(0xFFC0C0FF)
|
cache[id].lookLine.setColor(0xE0A0A0FF)
|
||||||
end
|
end
|
||||||
cache[id].cube.setAlpha(0x20)
|
cache[id].cube.setAlpha(0x20)
|
||||||
cache[id].lookLine.setAlpha(0x10)
|
cache[id].lookLine.setAlpha(0x30)
|
||||||
cache[id].cube.setDepthTested(false)
|
cache[id].cube.setDepthTested(false)
|
||||||
cache[id].frame.setDepthTested(false)
|
cache[id].frame.setDepthTested(false)
|
||||||
cache[id].lookLine.setDepthTested(false)
|
cache[id].lookLine.setDepthTested(false)
|
||||||
|
|
Loading…
Reference in New Issue