Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

setLinesColor (const Vec3f &c) - What???

Feedback
Anonymous
2014-02-16
2014-02-17

  • Anonymous
    2014-02-16

    I realize this is a free program, and I'm really grateful, but I would pay for better documentation. Even just some examples for each function (which as a 20 year program I always provide with my own documentation) would really go a long way.

    It looks like you change the constellation line color with this command:
    setLinesColor (const Vec3f &c)

    But I cannot figure out what "Vec3f &c" means. If I follow the link to Vec3f, it give a complete page of gibberish. I have tried these possible meanings which NONE work to change the color of the lines
    setLinesColor( 1.0, 1.0, 1.0)
    setLinesColor( Vector3(1.0, 1.0, 1.0))
    setLinesColor( "#ffffff")
    setLinesColor( "1.0", "1.0", "1.0")

    ANY IDEAS????

     

  • Anonymous
    2014-02-17

    If you actually are a developer, as you claim, then you would know that setLineColor() is a function that takes as a parameter a references to a three dimensional vector of type float. You would also know that all colors are made up of three colors, and as floats, those values are in the range 0.0 to 1.0. So the method would be self explanatory.

     


Anonymous


Cancel   Add attachments