Well...I'm using
Lua Code:
local updatePlayerHealth = function(bar, unit, min, max)
local d = floor(min/max*100)
bar.Filling:SetHeight((min / max) * bar:GetWidth())
bar.Filling:SetTexCoord(0,1, math.abs(min / max - 1),1)
...
end
until now.
Because when I created oUF_D3Orbs (err...long time ago) the vertical statusbar textures bugged out all the time.