Searched refs:g_freestyle (Results 1 – 6 of 6) sorted by relevance
39 viewProscenium[0] = g_freestyle.viewport[2] * (borderZone - bufferZone); in getDefaultViewProscenium()40 viewProscenium[1] = g_freestyle.viewport[2] * (1.0f - borderZone + bufferZone); in getDefaultViewProscenium()41 viewProscenium[2] = g_freestyle.viewport[3] * (borderZone - bufferZone); in getDefaultViewProscenium()42 viewProscenium[3] = g_freestyle.viewport[3] * (1.0f - borderZone + bufferZone); in getDefaultViewProscenium()
71 struct FreestyleGlobals g_freestyle; variable114 g_freestyle.scene = NULL; in FRS_init()160 g_freestyle.viewport[0] = g_freestyle.viewport[1] = 0; in init_view()161 g_freestyle.viewport[2] = width; in init_view()162 g_freestyle.viewport[3] = height; in init_view()187 zero_v3(g_freestyle.viewpoint); in init_camera()189 unit_m4(g_freestyle.mv); in init_camera()191 copy_m4_m4(g_freestyle.proj, re->winmat); in init_camera()194 print_m4("mv", g_freestyle.mv); in init_camera()195 print_m4("proj", g_freestyle.proj); in init_camera()[all …]
104 Vec3r v(UNPACK3(g_freestyle.viewpoint)); in distanceToSceneCenter()115 Vec3r cameraCenter(UNPACK3(g_freestyle.viewpoint)); in znear()144 Vec3r cameraCenter(UNPACK3(g_freestyle.viewpoint)); in zfar()
293 if (g_freestyle.proj[3][3] != 0.0) { in LoadMesh()302 proj[i * 4 + j] = g_freestyle.proj[i][j]; in LoadMesh()485 Vec3f vp(UNPACK3(g_freestyle.viewpoint)); in ComputeViewMap()495 mv[i][j] = g_freestyle.mv[i][j]; in ComputeViewMap()517 proj[i][j] = g_freestyle.proj[i][j]; in ComputeViewMap()533 viewport[i] = g_freestyle.viewport[i]; in ComputeViewMap()
42 extern struct FreestyleGlobals g_freestyle;
72 Scene *scene = g_freestyle.scene; in Freestyle_getCurrentScene()