source: trunk/packages/vizservers/nanovis/NvStdVertexShader.cpp @ 2096

Last change on this file since 2096 was 2096, checked in by ldelgass, 9 years ago

Normalize line endings, set eol-style to native on *.cpp, *.h files

  • Property svn:eol-style set to native
File size: 443 bytes
Line 
1#include <stdio.h>
2#include "global.h"
3#include "NvStdVertexShader.h"
4
5NvStdVertexShader::NvStdVertexShader()
6{
7    init();
8}
9
10NvStdVertexShader::~NvStdVertexShader()
11{
12}
13
14void NvStdVertexShader::init()
15{
16    _cgVP = LoadCgSourceProgram(g_context, "vertex_std.cg", CG_PROFILE_VP30, 
17        "main");
18    _mvp_vert_std_param = cgGetNamedParameter(_cgVP, "modelViewProjMatrix");
19    _mvi_vert_std_param = cgGetNamedParameter(_cgVP, "modelViewInv");
20}
21
Note: See TracBrowser for help on using the repository browser.