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

Last change on this file since 2798 was 2798, checked in by ldelgass, 8 years ago

Add emacs mode magic line in preparation for indentation cleanup

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