Panda3D
Functions | Variables
egg_parametrics.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "eggNurbsSurface.h"
#include "eggNurbsCurve.h"
#include "nurbsSurfaceEvaluator.h"
#include "nurbsCurveEvaluator.h"

Go to the source code of this file.

Functions

BEGIN_PUBLISH EXPCL_PANDA_EGG2PG PT (NurbsSurfaceEvaluator) make_nurbs_surface(EggNurbsSurface *egg_surface
 Returns a new NurbsSurfaceEvaluator that's filled in with the values from the given EggSurface (and transformed by the indicated matrix), or NULL if the object is invalid. More...
 
EXPCL_PANDA_EGG2PG PT (NurbsCurveEvaluator) make_nurbs_curve(EggNurbsCurve *egg_curve
 Returns a new NurbsCurveEvaluator that's filled in with the values from the given EggCurve (and transformed by the indicated matrix), or NULL if the object is invalid. More...
 

Variables

BEGIN_PUBLISH EXPCL_PANDA_EGG2PG const LMatrix4d & mat
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2003-10-13

Definition in file egg_parametrics.h.

Function Documentation

◆ PT() [1/2]

BEGIN_PUBLISH EXPCL_PANDA_EGG2PG PT ( NurbsSurfaceEvaluator  )

Returns a new NurbsSurfaceEvaluator that's filled in with the values from the given EggSurface (and transformed by the indicated matrix), or NULL if the object is invalid.

If there is vertex color, it will be applied to values 0 - 3 of the extended vertex values.

◆ PT() [2/2]

EXPCL_PANDA_EGG2PG PT ( NurbsCurveEvaluator  )

Returns a new NurbsCurveEvaluator that's filled in with the values from the given EggCurve (and transformed by the indicated matrix), or NULL if the object is invalid.

If there is vertex color, it will be applied to values 0 - 3 of the extended vertex values.