Results 1 to 2 of 2

Thread: COLLADA DOM function "getCharData()" rounds values

  1. #1
    mofo
    Guest

    COLLADA DOM function "getCharData()" rounds values

    Code :
    el->setCharData("-10.97158 0 6.382055 -10.97158 0 3.26787");
    cout << el->getCharData();
    I get:
    Code :
    -10.9716 0 6.38206 -10.9716 0 3.26787
    The element is float_array. What am I doing wrong and how can I get original string?

  2. #2
    Senior Member
    Join Date
    Aug 2004
    Location
    California
    Posts
    771

    Re: COLLADA DOM function "getCharData()" rounds values

    learn about C++ iostream ... and try for example:

    Code :
    cout << scientific <<  el->getCharData();

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •