Changeset 2902 for trunk


Ignore:
Timestamp:
Apr 1, 2012 11:19:58 AM (12 years ago)
Author:
ldelgass
Message:

Style fix (underscores to camel case)

Location:
trunk/packages/vizservers/nanovis
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/ConvexPolygon.cpp

    r2877 r2902  
    4343
    4444    Vector4 p1 = pt1;
    45     p1.perspective_divide();
     45    p1.perspectiveDivide();
    4646    float x1 = p1.x;
    4747    float y1 = p1.y;
     
    4949
    5050    Vector4 p2 = pt2;
    51     p2.perspective_divide();
     51    p2.perspectiveDivide();
    5252    float x2 = p2.x;
    5353    float y2 = p2.y;
     
    121121
    122122    Vector4 intersect;
    123     Vector4 plane = clipPlane.get_coeffs();
     123    Vector4 plane = clipPlane.getCoeffs();
    124124
    125125    bool prevRetained = isRetained(vertices[0], plane);
  • trunk/packages/vizservers/nanovis/Plane.h

    r2822 r2902  
    1414 * ======================================================================
    1515 */
    16 #ifndef _PLANE_H_
    17 #define _PLANE_H_
     16#ifndef PLANE_H
     17#define PLANE_H
    1818
    1919#include "Vector3.h"
     
    3232    {}
    3333
    34     void get_point(Vector3& point);
     34    void getPoint(Vector3& point);
    3535
    3636    //bool clips(float point[3]) const { return !retains(point); }
     
    4949    }
    5050
    51     Vector4 get_coeffs() const
     51    Vector4 getCoeffs() const
    5252    {
    5353        return Vector4(a, b, c, d);
    5454    }
    5555
    56     void set_coeffs(float a_val, float b_val, float c_val, float d_val)
     56    void setCoeffs(float a_val, float b_val, float c_val, float d_val)
    5757    {
    5858        a = a_val, b = b_val, c = c_val, d = d_val;
    5959    }
    6060
    61     void get_normal(Vector3& normal) const
     61    void getNormal(Vector3& normal) const
    6262    {
    6363        normal.x = a;
  • trunk/packages/vizservers/nanovis/Vector3.h

    r2877 r2902  
    111111    }
    112112
    113     Vector3 rot_x(float degree) const
     113    Vector3 rotX(float degree) const
    114114    {
    115115        float rad = radians(degree);
     
    119119    }
    120120
    121     Vector3 rot_y(float degree) const
     121    Vector3 rotY(float degree) const
    122122    {
    123123        float rad = radians(degree);
     
    127127    }
    128128
    129     Vector3 rot_z(float degree) const
     129    Vector3 rotZ(float degree) const
    130130    {
    131131        float rad = radians(degree);
  • trunk/packages/vizservers/nanovis/Vector4.h

    r2827 r2902  
    3939    }
    4040
    41     void perspective_divide()
     41    void perspectiveDivide()
    4242    {
    4343        /* Divide vector by w */
Note: See TracChangeset for help on using the changeset viewer.