mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +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 Red, Green, and Blue planes.
|
||||
*/
|
||||
RGBImage::RGBImage() : ColorImage(IMAQ_IMAGE_RGB)
|
||||
{
|
||||
}
|
||||
RGBImage::RGBImage() : ColorImage(IMAQ_IMAGE_RGB) {}
|
||||
|
||||
/**
|
||||
* Create a new image by loading a file.
|
||||
* @param fileName The path of the file to load.
|
||||
*/
|
||||
RGBImage::RGBImage(const char *fileName) : ColorImage(IMAQ_IMAGE_RGB)
|
||||
{
|
||||
int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL);
|
||||
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
|
||||
RGBImage::RGBImage(const char *fileName) : ColorImage(IMAQ_IMAGE_RGB) {
|
||||
int success = imaqReadFile(m_imaqImage, fileName, NULL, NULL);
|
||||
wpi_setImaqErrorWithContext(success, "Imaq ReadFile error");
|
||||
}
|
||||
|
||||
RGBImage::~RGBImage()
|
||||
{
|
||||
}
|
||||
RGBImage::~RGBImage() {}
|
||||
|
||||
Reference in New Issue
Block a user