Home
last modified time | relevance | path

Searched refs:inv_z (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/kits/game/chart/
H A DChartRender.cpp192 float x0, y0, z0, x, y, z, inv_z; in ProjectStar() local
236 inv_z = geo->zoom_factor/z; in ProjectStar()
239 h_double = (int32)(x * inv_z + geo->offset_h); in ProjectStar()
240 v_double = (int32)(y * inv_z + geo->offset_v); in ProjectStar()
244 level = (int32)(s->size * (inv_z * geo->z_max_square - z * geo->zoom_factor)) >> 8; in ProjectStar()