Replaced clamp functions with macro
Replaced clamp functions with macro

Core-Development-Group/PlatformLibrary,Core-Development-Group/OpenPL,Core-Development-Group/PlatformLibrary,Core-Development-Group/OpenPL