Core: More functions moved to const
This commit is contained in:
1 parent
1496e4df84
commit
4429830ed7
6 files changed
+36
-39
No files matched your search
@@ -77,14 +77,16 @@ typedef std::map<int8, VehicleSeat> SeatMap;
|
||||
|
||||
class TransportBase
|
||||
{
|
||||
public:
|
||||
virtual ~TransportBase() { }
|
||||
protected:
|
||||
TransportBase() { }
|
||||
virtual ~TransportBase() { }
|
||||
|
||||
/// This method transforms supplied transport offsets into global coordinates
|
||||
virtual void CalculatePassengerPosition(float& x, float& y, float& z, float& o) = 0;
|
||||
public:
|
||||
/// This method transforms supplied transport offsets into global coordinates
|
||||
virtual void CalculatePassengerPosition(float& x, float& y, float& z, float& o) const = 0;
|
||||
|
||||
/// This method transforms supplied global coordinates into local offsets
|
||||
virtual void CalculatePassengerOffset(float& x, float& y, float& z, float& o) = 0;
|
||||
/// This method transforms supplied global coordinates into local offsets
|
||||
virtual void CalculatePassengerOffset(float& x, float& y, float& z, float& o) const = 0;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user