Subversion Repositories DIN Is Noise

Rev

Rev 2009 | Rev 2107 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2009 Rev 2097
Line 1... Line 1...
1
/*
1
/*
2
* circler.cc
2
* circler.cc
3
* DIN Is Noise is copyright (c) 2006-2023 Jagannathan Sampath
3
* DIN Is Noise is copyright (c) 2006-2024 Jagannathan Sampath
4
* DIN Is Noise is released under GNU Public License 2.0
4
* DIN Is Noise is released under GNU Public License 2.0
5
* For more information, please visit https://dinisnoise.org/
5
* For more information, please visit https://dinisnoise.org/
6
*/
6
*/
7
7
8
#include "circler.h"
8
#include "circler.h"
Line 62... Line 62...
62
  sp.startangle.set_value (startangle);
62
  sp.startangle.set_value (startangle);
63
  sp.endangle.set ("End angle", 1.0f, -MILLION, MILLION, this, 0);
63
  sp.endangle.set ("End angle", 1.0f, -MILLION, MILLION, this, 0);
64
  sp.endangle.set_value (endangle);
64
  sp.endangle.set_value (endangle);
65
  sp.num_points.set ("Points", 1, 1, MILLION, this, 0);
65
  sp.num_points.set ("Points", 1, 1, MILLION, this, 0);
66
  sp.num_points.set_value (num_points);
66
  sp.num_points.set_value (num_points);
67
  sp.radius.set ("Radius", 0.01f, 0.0f, MILLION, this, 0);
67
  sp.radius.set ("Radius", 0.01f, -MILLION, MILLION, this, 0);
68
  sp.radius.set_value (1.0f);
68
  sp.radius.set_value (1.0f);
69
69
70
  widget_load ("d_circler", ctrls);
70
  widget_load ("d_circler", ctrls);
71
71
72
  scr.setup ();
72
  scr.setup ();