Compare commits

..
0 Commits
12 changed files with 20 additions and 57 deletions

No files matched your search

File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
+10
View File
@@ -0,0 +1,10 @@
#pragma once
class ImageMatcher{
public:
private:
};
-18
View File
@@ -1,18 +0,0 @@
#include "Picker.h"
using namespace core;
Picker::Picker() {}
Picker::~Picker() {}
Colour Picker::match(Colour obj, Colour* picks) {
// TODO: matching code
return Colour(0.0f, 0.0f, 0.0f);
}
std::vector<Colour> match_multi(Colour* obj, Colour* picks) {
// TODO: idem ditto
return std::vector<Colour>();
}
-15
View File
@@ -1,15 +0,0 @@
#pragma once
#include "Colour.h"
#include <vector>
namespace core {
class Picker{
public:
Picker();
~Picker();
Colour match(Colour obj, Colour* picks);
std::vector<Colour> match_multi(Colour* obj, Colour* picks);
};
}
View File
Whitespace-only changes.
View File
Whitespace-only changes.
+10
View File
@@ -0,0 +1,10 @@
#pragma once
class ImageMatcher{
public:
private:
};
-12
View File
@@ -1,12 +0,0 @@
#pragma once
#include "../Colour.h"
namespace core {
class Matcher {
public:
virtual float distance(const Colour a, const Colour b) ;
virtual float luminance(const Colour a) ;
};
}
-12
View File
@@ -1,12 +0,0 @@
#pragma once
#include "Matcher.h"
namespace core {
class RGBMatcher : Matcher {
float distance(const Colour a, const Colour b);
float luminance(const Colour a);
};
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.