/[gzz]/gzz/gfx/librenderables/renderables.py
ViewVC logotype

Diff of /gzz/gfx/librenderables/renderables.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.140 by jvk, Tue Nov 12 06:11:54 2002 UTC revision 1.141 by jvk, Tue Nov 12 07:18:25 2002 UTC
# Line 1255  rs = [ Line 1255  rs = [
1255          setup();          setup();
1256          float col[] = {1,1,1,1,0,0,0,0};          float col[] = {1,1,1,1,0,0,0,0};
1257          if (!mode) glColor4f(0,0,0,1);          if (!mode) glColor4f(0,0,0,1);
1258          Irregu::draw(coords1, vert, norm, texscale, 1.0/128, 0,          Irregu::draw(coords1, vert, norm, texscale, 2.0, 128, 0,
1259                       -.5, .5, col, NULL, 3, 0,                       -.5, .5, col, NULL, 3, 0,
1260                       Irregu::SLICE_1D + Irregu::Y_SECCOLOR +                       Irregu::SLICE_1D + Irregu::Y_SECCOLOR +
1261                       mode * Irregu::DOTVEC_COLOR + Irregu::INTERP_DOTVEC);                       mode * Irregu::DOTVEC_COLOR + Irregu::INTERP_DOTVEC);
# Line 1284  rs = [ Line 1284  rs = [
1284  {  {
1285      "Type" : "2",      "Type" : "2",
1286      "Name": "IrregularEdge",      "Name": "IrregularEdge",
1287      "Data": """float texscale, linewidth, scale_pow, border0, border1;      "Data": """float texscale, linewidth, refsize, scale_pow, border0, border1;
1288              vector<float> const0, const1; int angles, multi, flags;              vector<float> const0, const1; int angles, multi, flags;
1289              CallGLCode setup;              CallGLCode setup;
1290              float dicefactor;""",              float dicefactor;""",
1291      "Params" : """      "Params" : """
1292              float texscale, float linewidth, float scale_pow,              float texscale, float linewidth, float refsize, float scale_pow,
1293              float border0, float border1,              float border0, float border1,
1294              UTF8String const0, UTF8String const1, int angles, int multi, int flags,              UTF8String const0, UTF8String const1, int angles, int multi, int flags,
1295              UTF8String setupcode, float dicefactor              UTF8String setupcode, float dicefactor
# Line 1310  rs = [ Line 1310  rs = [
1310      "ParamCode" : """      "ParamCode" : """
1311              this->texscale = texscale;              this->texscale = texscale;
1312              this->linewidth = linewidth;              this->linewidth = linewidth;
1313                this->refsize = refsize;
1314              this->scale_pow = scale_pow;              this->scale_pow = scale_pow;
1315              this->border0 = border0;              this->border0 = border0;
1316              this->border1 = border1;              this->border1 = border1;
# Line 1345  rs = [ Line 1346  rs = [
1346    
1347          setup();          setup();
1348          GLERR;          GLERR;
1349          Irregu::draw(coords1, vert, norm, texscale, linewidth, scale_pow,          Irregu::draw(coords1, vert, norm, texscale,
1350                         linewidth, refsize, scale_pow,
1351                       border0, border1,                       border0, border1,
1352                       &const0[0], &const1[0],                       &const0[0], &const1[0],
1353                       angles, multi, flags);                       angles, multi, flags);

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.141

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26