Vector3 properties

Vectrex

22-11-2009 18:11:06

Hi, is there a reason the x,y,z public fields aren't public properties instead? I'm trying to get my editor to show vector3's as editable in the winforms property grid, but it only allows public properties to be edited and expandable.

GantZ

23-11-2009 19:25:15

Maybe this can help you ? : viewtopic.php?f=8&t=9897

i don't know if there is a particular reason that x,y,z are fields instead of properties. I will see how to convert this code into c++/cli to integrate it in Mogre if possible.