Revision 657,
1.0 KB
checked in by mattausch, 19 years ago
(diff) |
added ogre dependencies and patched ogre sources
|
Line | |
---|
1 | |
---|
2 | $Id: readme.linux,v 1.1 2004/10/23 22:24:25 josullivan Exp $ |
---|
3 | |
---|
4 | Linux changes |
---|
5 | ============= |
---|
6 | "#pragma once" is deprecated, using GCC 3.x, so I've changed all occurances |
---|
7 | of those with "#ifndef _HEADER_H_ ... #endif" |
---|
8 | |
---|
9 | GNU libc does not have _splitpath() and _makepath() functions, so I've written |
---|
10 | some dirty hacks in lwo2mesh.cpp which use a bizarre combination of C and C++. |
---|
11 | |
---|
12 | I've changed Lwo2MeshWriter::makeLayerFileName() and |
---|
13 | Lwo2MeshWriter::makeMaterialFileName() to use _makepath and _splitpath. |
---|
14 | |
---|
15 | Bugs fixed |
---|
16 | ---------- |
---|
17 | From lwReader.cpp: |
---|
18 | |
---|
19 | /* skip unread parts of the current subchunk */ |
---|
20 | |
---|
21 | if ( rlen < sz ) |
---|
22 | - is->seekg(sz - rlen, SEEK_CUR ); |
---|
23 | + is->seekg(sz - rlen, ios_base::cur ); |
---|
24 | |
---|
25 | /* end of the ENVL chunk? */ |
---|
26 | |
---|
27 | From lwReader.cpp: |
---|
28 | |
---|
29 | break; |
---|
30 | |
---|
31 | case ID_GLOS: |
---|
32 | - surf->glossiness.val = ( float ) log( getU2()) / 20.7944f; |
---|
33 | + surf->glossiness.val = (float) log( (double)getU2() ) / 20.7944f; |
---|
34 | break; |
---|
35 | |
---|
36 | case ID_SMAN: |
---|
37 | |
---|
38 | |
---|
39 | /Magnus |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.