Changeset 587
- Timestamp:
- 07/03/08 12:54:40 (5 months ago)
- Files:
-
- trunk/common/math-vector.h (modified) (1 diff)
- trunk/common/util.h (modified) (2 diffs)
- trunk/common/x42_file.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/common/math-vector.h
r584 r587 145 145 inline bool equal( const vec3 &v0, const vec3 &v1, float tol ) { return fabsf( v0.x - v1.x ) <= tol && fabsf( v0.y - v1.y ) <= tol && fabsf( v0.z - v1.z ) <= tol; } 146 146 147 ALIGN(16) struct vec4147 __declspec( align( 16 ) ) struct vec4 148 148 { 149 149 public: trunk/common/util.h
r584 r587 150 150 { 151 151 public: 152 bad_int_cast( void ) : std::exception( ) { }153 virtual ~bad_int_cast( void ) throw(){ }152 bad_int_cast( void ) : std::exception( "Integer conversion caused loss of data." ) { } 153 virtual ~bad_int_cast( void ) { } 154 154 }; 155 155 … … 158 158 { 159 159 private: 160 template< size_t num_bits 2>160 template< size_t num_bits > 161 161 struct signed_max 162 162 { trunk/common/x42_file.h
r584 r587 402 402 403 403 #endif 404
