Ignore:
Timestamp:
Mar 13, 2013, 9:57:03 AM (12 years ago)
Author:
ldelgass
Message:

Fix camera reset for nanovis. Includes refactoring of vector/matrix classes
in nanovis to consolidate into vrmath library. Also add preliminary canonical
view control to clients for testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/vrmath/Projection.cpp

    r3470 r3492  
    11/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
     2/*
     3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
     4 *
     5 * Author: Insoo Woo <iwoo@purdue.edu>
     6 */
    27
    38#include <math.h>
    49#include <memory.h>
    510
     11using namespace vrmath;
     12
    613#if 0
    7 vrVector3f vrCalcNormal(const vrVector3f& v1, const vrVector3f& v2, const vrVector3f& v3)
     14Vector3f calcNormal(const Vector3f& v1, const Vector3f& v2, const Vector3f& v3)
    815{
    9     vrVector3f temp;
     16    Vector3f temp;
    1017
    1118    float a[3], b[3];
Note: See TracChangeset for help on using the changeset viewer.