Files
OCCT/src/Visualization/TKService/Shaders/Shaders_RaytraceBase_vs.pxx
Pasukhin Dmitry f4741d647f Coding - Checking for copyright notice (#749)
Created a new CI step to validate the presence of a copyright notice in each source file.
Updated existed files to include the copyright notice.
2025-10-16 18:39:56 +01:00

32 lines
1.1 KiB
Plaintext

// Copyright (c) 2025 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
// clang-format off
// This file has been automatically generated from resource file resources/Shaders/RaytraceBase.vs
static const char Shaders_RaytraceBase_vs[] =
"in vec4 occVertex;\n"
"\n"
"//! Normalized pixel coordinates.\n"
"out vec2 vPixel;\n"
"\n"
"void main (void)\n"
"{\n"
" vPixel = vec2 ((occVertex.x + 1.f) * 0.5f,\n"
" (occVertex.y + 1.f) * 0.5f);\n"
"\n"
" gl_Position = occVertex;\n"
"}\n";
// clang-format on