2014-01-31 12:23:54 -06:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
2014-01-31 06:49:17 -06:00
|
|
|
#version 120
|
2014-01-22 19:49:10 -06:00
|
|
|
|
|
|
|
attribute vec3 vPosition;
|
|
|
|
uniform mat4 MVP;
|
|
|
|
uniform vec4 vColor;
|
|
|
|
varying vec4 fragmentColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2014-02-03 11:06:20 -06:00
|
|
|
gl_Position = MVP * vec4(vPosition, 1);
|
2014-01-22 19:49:10 -06:00
|
|
|
fragmentColor = vColor;
|
|
|
|
}
|
2014-01-31 12:23:54 -06:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|