struct wmDrawData {
    wmDrawTriple *triple_data;
    wmDrawTriple *triple_all;
    ...
};

And put that in "drawdata".