UNPKG
toptrader-vue-js
Version:
latest (1.10.0)
1.10.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
Toptrader lib
github.com/Hork190/toptrader-vue
Hork190/toptrader-vue
toptrader-vue-js
/
src
/
components
/
primitives
/
ray.js
12 lines
(8 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// Draws a ray, adds corresponding collision f-n
import
Line
from
'./line.js'
export
default
class
Ray
extends
Line
{
constructor
(
overlay, ctx
) {
super
(overlay, ctx)
this
.
ray
=
true
} }