Menu

#91 Struct vectors don't generate _x/_y/_z members

1.04
wont-fix
nobody
None
2022-12-29
2020-07-09
Paril
No

These are quite useful on fields (ent.origin_x, for instance), but if inside of a struct, there's no _x/_y/_z generated for them (ent.s.origin_x generates an error)

Discussion

  • eukara

    eukara - 2022-03-06
    • status: open --> pending
     
  • eukara

    eukara - 2022-03-06

    Yes, this indeed still seems to be a problem.

     
  • eukara

    eukara - 2022-03-07

    Apparently this is by design, as it uses up extra fields.
    The only compromise I could think of is adding a (expensive) flag that will always allocate those extra fields, but as Spike said people should rather just use .x/.y/.z or [n].

     
  • eukara

    eukara - 2022-03-07
    • status: pending --> wont-fix
     
  • Xylemon

    Xylemon - 2022-12-29
     

Log in to post a comment.

MongoDB Logo MongoDB