picogl.core.draw.line

Attributes

Point3

Functions

_point_to_coordinates(point) → molib.pdb.coordinate.coordinate.Coordinate3D

gl_legacy_draw_line(pos1, pos2) → None

Emit two vertices for a GL_LINES segment.

gl_legacy_draw_line_with_normal(vertex0, vertex1)

gl legacy draw line with normal

Module Contents

picogl.core.draw.line.Point3[source]
picogl.core.draw.line._point_to_coordinates(point: Point3) → molib.pdb.coordinate.coordinate.Coordinate3D[source]
picogl.core.draw.line.gl_legacy_draw_line(pos1: Point3, pos2: Point3) → None[source]

Emit two vertices for a GL_LINES segment.

picogl.core.draw.line.gl_legacy_draw_line_with_normal(vertex0: picogl.core.vec3.Vec3, vertex1: picogl.core.vec3.Vec3)[source]

gl legacy draw line with normal