plane3_compute_line_segment_intersection
plane3_compute_line_segment_intersection(result, result_offset, x0, y0, z0, x1, y1, z1, plane_normal_x, plane_normal_y, plane_normal_z, plane_offset) ⇒ boolean
Kind: global function
Returns: boolean
- if intersection exists, false if line is parallel to the plane
Param | Type | Description |
---|---|---|
result | Float32Array | Array.<number> | vec3 | |
result_offset | number | |
x0 | number | first point defining line |
y0 | number | first point defining line |
z0 | number | first point defining line |
x1 | number | second point defining line |
y1 | number | second point defining line |
z1 | number | second point defining line |
plane_normal_x | number | |
plane_normal_y | number | |
plane_normal_z | number | |
plane_offset | number |