Jump to content

Search the Community

Showing results for tags 'struct'.

  • Search By Tags

    • struct ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 4 results

  1. Hi, I was wondering if could be possible to define a struct in the outer code of the snippet and export this data for each class' items of a geometry (per point, prims, etc...)? Below is an example of a Wrangle running over Points with the "outer code" from wrangle/attribvop/snippet expose...
  2. Hello, I'm a newbie with vex and I'm trying to create an array of structs. In my wrangle node I defined the struct in the outer code section as suggested here my struct looks like this: struct node { int pt; int nbrs[ ]; } In my code I later declare...
  3. Hi. Am i right, saying that current (H14) vex struct implementation doesn't allow default values initialization? C-style initialization won't work. struct S{ S(): myval(0) {} int myval; } I must be wanting to much If only we can get this, wonderful world of OOP will open its doors I...
  4. Hi! I'm trying to organize some of my vex shaders. And trying to use struct for that. But this kind of code crashes my mantra: struct RayInfo { float clr; } surface structVar(){ RayInfo ray = { 0.0 }; if( ptransform("space:world", P )[2] < 0.0 ) ray.clr = 1.0; Cf = ray.clr; }[...
×
×
  • Create New...