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

Last change on this file since 1111 was 1111, checked in by gah, 11 years ago

nanovis/heightmap update

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.