File: multiply_effect.cpp

package info (click to toggle)
movit 1.7.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,248 kB
  • sloc: cpp: 16,677; sh: 3,940; makefile: 167
file content (19 lines) | stat: -rw-r--r-- 323 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "multiply_effect.h"
#include "util.h"

using namespace std;

namespace movit {

MultiplyEffect::MultiplyEffect()
	: factor(1.0f, 1.0f, 1.0f, 1.0f)
{
	register_vec4("factor", (float *)&factor);
}

string MultiplyEffect::output_fragment_shader()
{
	return read_file("multiply_effect.frag");
}

}  // namespace movit