|
@@ -110,10 +110,7 @@ struct Object {
|
|
|
std::vector<unsigned int> m_Meshes;
|
|
|
|
|
|
//! \brief Default constructor
|
|
|
- Object()
|
|
|
- : m_strObjName("") {
|
|
|
- // empty
|
|
|
- }
|
|
|
+ Object() = default;
|
|
|
|
|
|
//! \brief Destructor
|
|
|
~Object() {
|
|
@@ -191,16 +188,12 @@ struct Material {
|
|
|
, illumination_model (1)
|
|
|
, ior ( ai_real( 1.0 ) )
|
|
|
, transparent( ai_real( 1.0), ai_real (1.0), ai_real(1.0)) {
|
|
|
- // empty
|
|
|
- for (size_t i = 0; i < TextureTypeCount; ++i) {
|
|
|
- clamp[ i ] = false;
|
|
|
- }
|
|
|
+
|
|
|
+ std::fill_n(clamp, TextureTypeCount,false);
|
|
|
}
|
|
|
|
|
|
// Destructor
|
|
|
- ~Material() {
|
|
|
- // empty
|
|
|
- }
|
|
|
+ ~Material() = default;
|
|
|
};
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|