Skip to content

Commit 03d1c95

Browse files
Adds underlying_type support to UnitVec including direct initialization
1 parent 331cdc3 commit 03d1c95

File tree

8 files changed

+336
-75
lines changed

8 files changed

+336
-75
lines changed

Build/xcode5/PlayRho.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@
402402
9919883A2AD5FEE80076F969 /* IslandStats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 991988392AD5FEE80076F969 /* IslandStats.cpp */; };
403403
9919883C2ADAFEE20076F969 /* CheckedMath.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 9919883B2ADAFEE20076F969 /* CheckedMath.hpp */; };
404404
9921FFD729AD43C30043F23F /* TypeInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9921FFD629AD43C30043F23F /* TypeInfo.cpp */; };
405+
99294BD12BDEBCFE00322777 /* UnitMagnitudeChecker.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 99294BD02BDEBCFE00322777 /* UnitMagnitudeChecker.hpp */; };
405406
996B7B832A6DF1A500A8207F /* PoolMemoryResource.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 996B7B7E2A6DF1A400A8207F /* PoolMemoryResource.hpp */; };
406407
996B7B842A6DF1A500A8207F /* MemoryResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 996B7B7F2A6DF1A400A8207F /* MemoryResource.cpp */; };
407408
996B7B852A6DF1A500A8207F /* MemoryResource.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 996B7B802A6DF1A400A8207F /* MemoryResource.hpp */; };
@@ -908,6 +909,7 @@
908909
9919883B2ADAFEE20076F969 /* CheckedMath.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = CheckedMath.hpp; sourceTree = "<group>"; };
909910
991988C22AE2D46F0076F969 /* Settings.hpp.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Settings.hpp.in; sourceTree = "<group>"; };
910911
9921FFD629AD43C30043F23F /* TypeInfo.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TypeInfo.cpp; sourceTree = "<group>"; };
912+
99294BD02BDEBCFE00322777 /* UnitMagnitudeChecker.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = UnitMagnitudeChecker.hpp; sourceTree = "<group>"; };
911913
996B7B7E2A6DF1A400A8207F /* PoolMemoryResource.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = PoolMemoryResource.hpp; sourceTree = "<group>"; };
912914
996B7B7F2A6DF1A400A8207F /* MemoryResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MemoryResource.cpp; sourceTree = "<group>"; };
913915
996B7B802A6DF1A400A8207F /* MemoryResource.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = MemoryResource.hpp; sourceTree = "<group>"; };
@@ -1448,6 +1450,7 @@
14481450
9901AF0E2A9FD68A0075122D /* Templates.hpp */,
14491451
9901AF0C2A9E30450075122D /* TypeInfo.hpp */,
14501452
9901AF182AB248A80075122D /* UnitIntervalChecker.hpp */,
1453+
99294BD02BDEBCFE00322777 /* UnitMagnitudeChecker.hpp */,
14511454
9901AF012A9D5D6B0075122D /* underlying_type.hpp */,
14521455
4768D3F21E3A7ACA00574143 /* Wider.hpp */,
14531456
9919882B2ACCC6150076F969 /* ZeroToUnderOneChecker.hpp */,
@@ -1658,6 +1661,7 @@
16581661
99D1BE2C2AEF2575001BA497 /* WorldConcept.hpp in Headers */,
16591662
80BB899A141C3E5900F1753A /* EdgeShapeConf.hpp in Headers */,
16601663
80BB899C141C3E5900F1753A /* PolygonShapeConf.hpp in Headers */,
1664+
99294BD12BDEBCFE00322777 /* UnitMagnitudeChecker.hpp in Headers */,
16611665
4791330E26A5B90C0011707B /* ToiOutput.hpp in Headers */,
16621666
470F9B0C1EDE6340007EF7B6 /* Vector3.hpp in Headers */,
16631667
47D61F761F1F1F2500E702BD /* DroidSansTtfData.h in Headers */,

Library/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ set(PLAYRHO_DETAIL_HDRS
170170
include/playrho/detail/Templates.hpp
171171
include/playrho/detail/TypeInfo.hpp
172172
include/playrho/detail/UnitIntervalChecker.hpp
173+
include/playrho/detail/UnitMagnitudeChecker.hpp
173174
include/playrho/detail/Wider.hpp
174175
include/playrho/detail/ZeroToUnderOneChecker.hpp
175176
include/playrho/detail/underlying_type.hpp

0 commit comments

Comments
 (0)