line-collisions

command
v0.0.0-...-93f9cd5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 4 Imported by: 0

README

Line Collisions

Line collisions is a basic example of how to detect line collisions with a rectangle.

Screenshot

Instructions

You can set the rectangle position using a left-click of the mouse.

You can set the line position with two right-clicks of the mouse; the first right-click will set the beginning of the line the second will set the end of the line.

Any intersection points where the rectangle and line intersection will appear as red dots.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL