Commit Graph

10 Commits (b79959979a94f812770427a4636086d13db23383)

Author SHA1 Message Date
Andrew Tribick b79959979a Extract inner types from Material and Mesh
- Remove using namspace cmod
- Convert enums to enum classes
2021-12-04 09:49:52 +01:00
Andrew Tribick 990163ac35 Clean up namespaces and includes in model.cpp/model.h 2021-11-25 19:11:06 +01:00
Andrew Tribick 79234cda24 Remove inheritance from Material maps, Model destructor
- Reference texture maps by ResourceHandles in cmod Materials
- Add basic path manager for integration tests and tools
- Remove virtual destructor on Model class as nothing inherits from it
2021-11-25 19:11:06 +01:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
Hleb Valoshka b3efd50661 Make cmod::Model destructor virtual (Closes: #8)
+tiny warning fixes
2018-10-13 23:05:32 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Hleb Valoshka 882e4ecf28 fix whitespaces and indents
trailing spaces are removed
tabs are replaced with 4 spaces

# Conflicts:
#	src/celengine/cmdparser.cpp
#	src/celengine/command.cpp
#	src/celestia/celestiacore.cpp
#	src/celestia/celestiacore.h
#	src/celestia/qt/qtappwin.cpp
#	src/celestia/qt/qtglwidget.cpp
#	src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Chris Laurel d00fb03d6a Change ASCII cmod writing code to output null material index as -1 instead
of max unsigned int, which prevents read/write incompatibilities on 64-bit
systems. Moved some Doxygen comments from header to source file.
2010-07-05 22:53:06 +00:00
Chris Laurel f9260386b2 celmodel fixes:
- Removed unused code in #if 0/#endif blocks
- Added non-const accessor for Mesh::PrimitiveGroup
- Return more information in pick result: mesh, primitive group, and primitive
index instead of just the distance to first intersection.
2010-02-10 20:52:43 +00:00
Chris Laurel ef146f24aa Added celmodel module. 2010-02-05 20:10:32 +00:00