From 6f79fcdeb38247ce1f731b33a74f63b2d290c519 Mon Sep 17 00:00:00 2001 From: Laggamer2005 <158077584+Laggamer2005@users.noreply.github.com> Date: Sat, 7 Dec 2024 11:27:00 +0000 Subject: [PATCH] Update Helpers.h --- .../include/DualSenseWindows/Helpers.h | 82 +++++++++---------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h b/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h index 85001c8..f62ace5 100644 --- a/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h +++ b/VS19_Solution/DualSenseWindows/include/DualSenseWindows/Helpers.h @@ -1,11 +1,11 @@ /* - Helpers.h is part of DualSenseWindows - https://github.com/Ohjurot/DualSense-Windows + Helpers.h is part of DualSenseWindows + https://github.com/Ohjurot/DualSense-Windows - Contributors of this file: - 11.2020 Ludwig Füchsl + Contributors of this file: + 11.2020 Ludwig Füchsl - Licensed under the MIT License (To be found in repository root directory) + Licensed under the MIT License (To be found in repository root directory) */ #pragma once @@ -13,42 +13,42 @@ #include namespace DS5W { - /// - /// Convert from 3-Color RGB normalized float to DS5W::Color - /// - /// Red channel - /// Green channel - /// Blue channel - /// DS5W::Color - DS5W_API DS5W::Color color_R32G32B32_FLOAT(float r, float g, float b); - - /// - /// Convert from 4-Color RGBA normalized float to DS5W::Color - /// - /// Red channel - /// Green channel - /// Blue channel - /// Alpha channel - /// DS5W::Color - DS5W_API DS5W::Color color_R32G32B32A32_FLOAT(float r, float g, float b, float a); + /// + /// Convert from 3-Color RGB normalized float to DS5W::Color + /// + /// Red channel + /// Green channel + /// Blue channel + /// DS5W::Color + DS5W_API Color color_R32G32B32_FLOAT(float r, float g, float b); - /// - /// Convert from 4-Color RGBA byte / UChar to DS5W::Color - /// - /// Red channel - /// Green channel - /// Blue channel - /// Alpha channel - /// DS5W::Color - DS5W_API DS5W::Color color_R8G8B8A8_UCHAR(unsigned char r, unsigned char g, unsigned char b, unsigned char a); + /// + /// Convert from 4-Color RGBA normalized float to DS5W::Color + /// + /// Red channel + /// Green channel + /// Blue channel + /// Alpha channel + /// DS5W::Color + DS5W_API Color color_R32G32B32A32_FLOAT(float r, float g, float b, float a); - /// - /// Convert from 4-Color RGB byte / UChar to DS5W::Color while using a normalized float for alpha chanel - /// - /// Red channel - /// Green channel - /// Blue channel - /// Alpha channel - /// DS5W::Color - DS5W_API DS5W::Color color_R8G8B8_UCHAR_A32_FLOAT(unsigned char r, unsigned char g, unsigned char b, float a); + /// + /// Convert from 4-Color RGBA byte / UChar to DS5W::Color + /// + /// Red channel + /// Green channel + /// Blue channel + /// Alpha channel + /// DS5W::Color + DS5W_API Color color_R8G8B8A8_UCHAR(unsigned char r, unsigned char g, unsigned char b, unsigned char a); + + /// + /// Convert from 3-Color RGB byte / UChar to DS5W::Color while using a normalized float for alpha channel + /// + /// Red channel + /// Green channel + /// Blue channel + /// Alpha channel + /// DS5W::Color + DS5W_API Color color_R8G8B8_UCHAR_A32_FLOAT(unsigned char r, unsigned char g, unsigned char b, float a); }