static void Update(ref CullHeights ch, ushort v) { float f = v * Page.Scale * Page.Offset; if (f < ch.bottom) { ch.bottom = f; } if (f > ch.top) { ch.top = f; } }
static void Update(ref CullHeights ch, ushort v) { float f = v * Page.Scale * Page.Offset; if (f < ch.bottom) ch.bottom = f; if (f > ch.top) ch.top = f; }