Hi Carsten,
Carsten Neumann wrote:
>
> Ok, here is what turned into. The files go into
> Source/System/NodeCores/Drawables/Geometry/Properties and the diff
> simply changes OSGGeoVectorProperty.h to include the new header and
> disable the current code.
> I wanted to get some feedback on this, before I commit it (doc will be
> completed before that happens). It would be especially nice if someone
> could try this on windows.
It seems to work for me, but I haven't tried it on Windows yet.
> The high number of deactivated tests comes from the very limited
> interaction Fixed32 allows with other types. I did not try all, but many
> (all?) also fail to compile with the current code for the same reason -
> OpenSG itself compiles of course with either one.
>
> There are only these operators (where is + ??)
That seems to be a pretty elemental hole.
> Fixed32 operator -(const Real32 lhs, const Fixed32 rhs);
> Fixed32 operator /(const Real32 lhs, const Fixed32 rhs);
> Fixed32 operator *(const Real32 lhs, const Fixed32 rhs);
>
> and these constructors
>
> Fixed32(const Real32 source);
> Fixed32(const UInt32 source);
> Fixed32(const Fixed32 &source);
>
> Where is the Fixed32 code from, can someone give some insights on how to
> make it play nicely with all other scalar types ?
I know Gerrit wants to be careful about adding too much to Fixed32, but
at least + should be possible. I assume that would make a lot of things
compile. If you can identify a few chnages that will cover most test
cases I think you can add them inside an ifndef WINCE block.
Dirk
Dirk
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core