VEX struct constructor

   659   0   1
User Avatar
Member
2 posts
Joined: Feb. 2016
Offline
What does the empty constructor do for a struct? I've seen this in the “pbr.h” file for instance:


pbr_varianceaa variance_start()
{
return pbr_varianceaa();
}


where pbr_varianceaa is a struct.

or in the “bsdf.h” file there is this line:


bsdf f = bsdf();


Thanks a bunch!
  • Quick Links