programming

persisted vectors and such : sep 03

gbGeom 23432
{
float16 _modelMatrix="1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1";

std::vector _strings=
{
int _size=4;
std::string [0]="zero";
std::string [1]="one";
std::string [2]="two";
std::string [3]="three";
}

std::vector _strings=
{
int _size=2;
std::string* [0]=5321;
std::string* [1]=5322;
}

}

std::string 5321="zero";
std::string 5322="one";

gbEntity "$golfcart,1"
{
gbKeyValue _entityPrototype="$golfcart";
gbKeyValue _entityFile ="jziotd_data/golfcart.pop";
gbKeyValue _entitySymbols
{
gbKeyValue "$golfcart"="$golfcart,1";
}
gbKeyValue "poses"
{
gbKeyValue "box_mass=0.001"
{
gbKeyValue "position"="0.591598 0.503417 2.664971";
gbKeyValue "axisX"="0.029303 0.002153 0.999568";
}
}

}

in golfcart.pop would look like:

gbEntity "$golfcart"
{
gbKeyValue "@ase"="jziotd_data/golfcart.ase";
gbKeyValue "@class"="gbASE";
}