Home | History | Annotate | Download | only in test

Lines Matching full:projection_matrix

439 def projection_matrix(point, normal, direction=None,
448 >>> P = projection_matrix((0, 0, 0), (1, 0, 0))
455 >>> P0 = projection_matrix(point, normal)
456 >>> P1 = projection_matrix(point, normal, direction=direct)
457 >>> P2 = projection_matrix(point, normal, perspective=persp)
458 >>> P3 = projection_matrix(point, normal, perspective=persp, pseudo=True)
461 >>> P = projection_matrix((3, 0, 0), (1, 1, 0), (1, 0, 0))
504 Return values are same as arguments for projection_matrix function:
511 >>> P0 = projection_matrix(point, normal)
513 >>> P1 = projection_matrix(*result)
516 >>> P0 = projection_matrix(point, normal, direct)
518 >>> P1 = projection_matrix(*result)
521 >>> P0 = projection_matrix(point, normal, perspective=persp, pseudo=False)
523 >>> P1 = projection_matrix(*result)
526 >>> P0 = projection_matrix(point, normal, perspective=persp, pseudo=True)
528 >>> P1 = projection_matrix(*result)