class OpenGL::Line3

Defined in:

opengl/math/line3.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(start_point = OpenGL::Vector3.new, end_point = OpenGL::Vector3.new) #

[View source]

Instance Method Detail

def apply_matrix4(matrix) #

[View source]
def at(t, target = OpenGL::Vector3.new) #

[View source]
def center(target = OpenGL::Vector3.new) #

[View source]
def clone #

[View source]
def closest_point_to_point(point, clamp_to_line, target = OpenGL::Vector3.new) #

[View source]
def closest_point_to_point_parameter(point, clamp_to_line) #

[View source]
def copy(line) #

[View source]
def delta(target = OpenGL::Vector3.new) #

[View source]
def distance #

[View source]
def distance_sq #

[View source]
def end_point : OpenGL::Vector3 #

[View source]
def end_point=(end_point : OpenGL::Vector3) #

[View source]
def equals(line) #

[View source]
def set(start_point, end_point) #

[View source]
def start_point : OpenGL::Vector3 #

[View source]
def start_point=(start_point : OpenGL::Vector3) #

[View source]