AddSubEntity()

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

User avatar
DK_PETER
Addict
Addict
Posts: 898
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

AddSubEntity()

Post by DK_PETER »

According to the help file: (Remarks section).
It is necessary to use the CreateEntityBody() function with the #PB_Entity_CompoundBody option after adding all sub-entities.
This is not true. Even though it is recommended to use the #PB_Entity_CompoundBody constant - it is not necessary -
any of the #pb_Entity_xxxxxBody constants can be used after using AddSubEntity().
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: AddSubEntity()

Post by Andre »

This is something to investigate by Fred or comtois.
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply