Mercurial > repos > public > sbplib
annotate Color.m @ 87:0a29a60e0b21
In Curve: Rearranged for speed. arc_length_fun is now a property of Curve. If it is not supplied, it is computed via the derivative and spline fitting. Switching to the arc length parameterization is much faster now. The new stuff can be tested with testArcLength.m (which should be deleted after that).
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Sun, 29 Nov 2015 22:23:09 +0100 |
parents | 1770689d6c31 |
children | 54cf593d6643 |
rev | line source |
---|---|
0 | 1 classdef Color |
2 properties(Constant) | |
3 blue = [0.000 0.447 0.741]; | |
4 red = [0.850 0.325 0.098]; | |
5 yellow = [0.929 0.694 0.125]; | |
6 purple = [0.494 0.184 0.556]; | |
7 green = [0.466 0.674 0.188]; | |
8 lightblue = [0.301 0.745 0.933]; | |
9 darkred = [0.635 0.078 0.184]; | |
37
1770689d6c31
Added black and white to Color.m
Jonatan Werpers <jonatan@werpers.com>
parents:
0
diff
changeset
|
10 black = [0.000 0.000 0.000]; |
1770689d6c31
Added black and white to Color.m
Jonatan Werpers <jonatan@werpers.com>
parents:
0
diff
changeset
|
11 white = [1.000 1.000 1.000]; |
0 | 12 end |
13 end |