vix raytracer representation
This commit is contained in:
@@ -63,9 +63,16 @@ public:
|
||||
|
||||
inline size_t Count() const { return this->m_Count; }
|
||||
|
||||
inline size_t size() const { return this->m_Count; }
|
||||
|
||||
inline const Scalarf &TotalLength() const { return this->m_TotalLength; }
|
||||
|
||||
inline void SetCount(size_t c) { this->m_Count = c; }
|
||||
inline void SetCount(size_t c) {
|
||||
this->m_Count = c;
|
||||
if (this->m_Data.size() != c) {
|
||||
this->m_Data.resize(c);
|
||||
}
|
||||
}
|
||||
|
||||
inline void SetTotalLength(Scalarf tl) { this->m_TotalLength = tl; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user