Commit 94b59066 authored by Ludovic Courtès's avatar Ludovic Courtès

data_brdf_slice: Mark internal fields and methods as private.

parent d9c5fc1b
...@@ -70,14 +70,15 @@ ALTA_DLL_EXPORT data* load_data(std::istream& input, const arguments& args); ...@@ -70,14 +70,15 @@ ALTA_DLL_EXPORT data* load_data(std::istream& input, const arguments& args);
* *
*/ */
class BrdfSlice : public data { class BrdfSlice : public data {
public: private:
const int _width, _height, _slice; const int _width, _height, _slice;
vec _max, _min; vec _max, _min;
double _phi; double _phi;
double* _data; double* _data;
bool _reverse; bool _reverse;
public:
BrdfSlice(const arguments& args, BrdfSlice(const arguments& args,
int width, int height, int slice, int width, int height, int slice,
double* content) double* content)
...@@ -219,6 +220,8 @@ class BrdfSlice : public data { ...@@ -219,6 +220,8 @@ class BrdfSlice : public data {
return res; return res;
} }
private:
// Get data size, e.g. the number of samples to fit // Get data size, e.g. the number of samples to fit
int size() const int size() const
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment