How do I create a ray with a Smalltalk script
The manual at does not yet give an example how to do that
discover more from the index, under the "Smalltalk sketch" index.
I wonder how I
create a ray given
1. a ray with a point pointA as its origin
2. an angle
| c pointA pointB |
c := DrGeoCanvas new.
pointA := c point: 1@0.
pointB := c point: 5@0.
ray := c ray: pointA to: pointB.
ray2 := c "send a message with parameters ray and an angle"
I don't understand the logic you have underneath
to build ray2 given ray and angle.
If you can explain I can look at it.