Documentation ¶
Index ¶
- type Triangle
- func (tri *Triangle) CaluclateIntersection(pt1, pt2 *vec3.T) *vec3.T
- func (t *Triangle) GenerateEdgePoints(dp *drawingprecision.DrawingPrecision, result *[]vec3.T)
- func (tri *Triangle) WasCut(pt1OrCamera, pt2 *vec3.T) bool
- func (tri *Triangle) WasCutf(pt1OrCamera, pt2 *vec3.T) bool
- func (tri *Triangle) WasCutl(pt1OrCamera, pt2 *vec3.T) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Triangle ¶
func (*Triangle) CaluclateIntersection ¶
func (*Triangle) GenerateEdgePoints ¶
func (t *Triangle) GenerateEdgePoints(dp *drawingprecision.DrawingPrecision, result *[]vec3.T)
func (*Triangle) WasCut ¶
https://en.wikipedia.org/wiki/M%C3%B6ller%E2%80%93Trumbore_intersection_algorithm
Click to show internal directories.
Click to hide internal directories.