You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,13 @@ Or install it yourself as:
20
20
21
21
## Usage
22
22
23
-
All you need to do is `require 'vecmath'` to use `Vec2D` and `Vec3D` classes in your application (NB: `:to_vertex` functionality depends on classes not currently available)
23
+
All you need to do is `require 'vecmath'` to use `Vec2D` and `Vec3D` classes in your application.
24
+
For `:to_vertex` functionality you need to create a renderer:-
25
+
```
26
+
@renderer = AppRender.new(graphics) # where graphics is instance of PGraphics
0 commit comments