Skip to content

Commit 4bbb5d4

Browse files
committed
make TColor availavble directly
1 parent e0114d6 commit 4bbb5d4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

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

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

lib/toxiclibs.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ module Gfx
8383
TVec2D = Toxi::Vec2D
8484
TVec3D = Toxi::Vec3D
8585
AABB = Toxi::AABB
86+
# alias Toxi::TColor
87+
TColor = Toxi::TColor
8688
volume = %w(AdditiveBrush ArrayIsoSurface BoxBrush BrushMode HashIsoSurface
8789
IsoSurface MarchingCubesIndex MeshLatticeBuilder MeshVoxelizer
8890
MultiplyBrush PeakBrush ReplaceBrush RoundBrush VolumetricBrush

0 commit comments

Comments
 (0)