Lines Matching refs:world
91 PointFloat3 world; in bowl_view_image_to_world() local
105 world.z = config.wall_height - img_pos.y * z_step; // TODO world.z in bowl_view_image_to_world()
107 float r2 = 1 - (world.z - config.center_z) * (world.z - config.center_z) / (c * c); in bowl_view_image_to_world()
110 world.x = 0.0f; in bowl_view_image_to_world()
111 world.y = -sqrt(r2 * b * b); in bowl_view_image_to_world()
113 world.x = 0.0f; in bowl_view_image_to_world()
114 world.y = sqrt(r2 * b * b); in bowl_view_image_to_world()
116 world.x = sqrt(r2 * a * a * b * b / (b * b + a * a * tan(angle) * tan(angle))); in bowl_view_image_to_world()
117 world.y = -world.x * tan(angle); in bowl_view_image_to_world()
119 world.x = -sqrt(r2 * a * a * b * b / (b * b + a * a * tan(angle) * tan(angle))); in bowl_view_image_to_world()
120 world.y = -world.x * tan(angle); in bowl_view_image_to_world()
136 world.x = 0.0f; in bowl_view_image_to_world()
137 world.y = -b; in bowl_view_image_to_world()
139 world.x = 0.0f; in bowl_view_image_to_world()
140 world.y = b; in bowl_view_image_to_world()
142 world.x = a * b / sqrt(b * b + a * a * tan(angle) * tan(angle)); in bowl_view_image_to_world()
143 world.y = -world.x * tan(angle); in bowl_view_image_to_world()
145 world.x = -a * b / sqrt(b * b + a * a * tan(angle) * tan(angle)); in bowl_view_image_to_world()
146 world.y = -world.x * tan(angle); in bowl_view_image_to_world()
148 world.z = 0.0f; in bowl_view_image_to_world()
151 return world; in bowl_view_image_to_world()