mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
Major formatting changes (breaks diffs). No code changes.
The changes made in this commit do not affect any actual code,
they are purely aesthetic. I ran clang-format with google style
over all .h/.cpp files in wpilibc that weren't in wpilibC++Sim
or gtest, and the eclipse formatter over all of the Java files
using the Google eclipse formatting configuration.
Change-Id: I9627bca0bc103c398ecc1c5ba17467193291ae63
This commit is contained in:
@@ -9,20 +9,15 @@
|
||||
/**
|
||||
* Create a new image that uses the Hue, Saturation, and Luminance planes.
|
||||
*/
|
||||
HSLImage::HSLImage() : ColorImage(IMAQ_IMAGE_HSL)
|
||||
{
|
||||
}
|
||||
HSLImage::HSLImage() : ColorImage(IMAQ_IMAGE_HSL) {}
|
||||
|
||||
/**
|
||||
* Create a new image by loading a file.
|
||||
* @param fileName The path of the file to load.
|
||||
*/
|
||||
HSLImage::HSLImage(const char *fileName) : ColorImage(IMAQ_IMAGE_HSL)
|
||||
{
|
||||
int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL);
|
||||
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
|
||||
HSLImage::HSLImage(const char *fileName) : ColorImage(IMAQ_IMAGE_HSL) {
|
||||
int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL);
|
||||
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
|
||||
}
|
||||
|
||||
HSLImage::~HSLImage()
|
||||
{
|
||||
}
|
||||
HSLImage::~HSLImage() {}
|
||||
|
||||
Reference in New Issue
Block a user