Skip to content

Commit

Permalink
make TColor availavble directly
Browse files Browse the repository at this point in the history
  • Loading branch information
monkstone committed Apr 1, 2017
1 parent e0114d6 commit 4bbb5d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

**v0.9.2** Bump processing version
**v0.9.2** Bump processing version, add `to_ruby_string` method to `ColorList` see examples, allow use of `TColor` without `Toxi` prefix

**v0.9.1** Make it easier to load PerlinNoise and SimplexNoise

Expand Down
2 changes: 2 additions & 0 deletions lib/toxiclibs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ module Gfx
TVec2D = Toxi::Vec2D
TVec3D = Toxi::Vec3D
AABB = Toxi::AABB
# alias Toxi::TColor
TColor = Toxi::TColor
volume = %w(AdditiveBrush ArrayIsoSurface BoxBrush BrushMode HashIsoSurface
IsoSurface MarchingCubesIndex MeshLatticeBuilder MeshVoxelizer
MultiplyBrush PeakBrush ReplaceBrush RoundBrush VolumetricBrush
Expand Down

0 comments on commit 4bbb5d4

Please sign in to comment.