diff options
author | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-02-12 23:53:22 -0600 |
commit | f1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch) | |
tree | ab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/cairo-1.16.0/util/cairo-script/examples/wedgeAnnulus_crop_ybRings.cs | |
parent | f567ea1e2798fd3156a416e61f083ea3e6b95719 (diff) |
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/cairo-1.16.0/util/cairo-script/examples/wedgeAnnulus_crop_ybRings.cs')
-rw-r--r-- | libs/cairo-1.16.0/util/cairo-script/examples/wedgeAnnulus_crop_ybRings.cs | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/libs/cairo-1.16.0/util/cairo-script/examples/wedgeAnnulus_crop_ybRings.cs b/libs/cairo-1.16.0/util/cairo-script/examples/wedgeAnnulus_crop_ybRings.cs deleted file mode 100644 index 5aeb97f..0000000 --- a/libs/cairo-1.16.0/util/cairo-script/examples/wedgeAnnulus_crop_ybRings.cs +++ /dev/null @@ -1,30 +0,0 @@ -/SIDE 600 def - -<< /width SIDE /height SIDE >> surface context - -1 1 1 rgb set-source -paint - -SIDE dup scale -0.5 0.5 translate -0.5 -0.5 scale - -/theta math.pi 10 div def - -10 { - N - 0 0 1.0 0 //theta arc - 0 0 0.2 //theta 0 arc- - h - //theta rotate - //theta rotate -} repeat - -0 0 0.2 0 0 1 radial - 0.0 1 1 0 1 add-color-stop - 1.0 0 0 1 1 add-color-stop -set-source -fill - -/target get (out.png) write-to-png pop -pop |