[x3d-public] ProtoBody completeness in nested Protos
Andreas Plesch
andreasplesch at gmail.com
Tue Apr 26 11:37:25 PDT 2022
> Date: Tue, 26 Apr 2022 10:57:10 -0600
> From: GPU Group <gpugroup at gmail.com>
>
> https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/concepts.html#Prototypescopingrules
>
> "A prototype may be instantiated in a file anywhere after the completion of
> the prototype definition."
> If the specs meant what you are suggesting --protos are self contained
> including proto definitions-- then it would have said "context" rather than
> "file"
> "Prototype definitions appearing inside a prototype definition ( i.e.,
> nested) are local to the enclosing prototype. "
> - refinement of the above file order rule.
Ok. thanks ! There it is. Time to look into this, then.
-Andreas
More information about the x3d-public
mailing list