Blender  V3.3
Namespaces | Functions
usd_reader_nurbs.cc File Reference
#include "usd_reader_nurbs.h"
#include "BKE_curve.h"
#include "BKE_mesh.h"
#include "BKE_object.h"
#include "BLI_listbase.h"
#include "DNA_curve_types.h"
#include "DNA_object_types.h"
#include "MEM_guardedalloc.h"
#include <pxr/base/vt/array.h>
#include <pxr/base/vt/types.h>
#include <pxr/base/vt/value.h>
#include <pxr/usd/sdf/types.h>
#include <pxr/usd/usdGeom/curves.h>

Go to the source code of this file.

Namespaces

 blender
 
 blender::io
 
 blender::io::usd
 

Functions

static bool set_knots (const pxr::VtDoubleArray &knots, float *&nu_knots)
 

Function Documentation

◆ set_knots()

static bool set_knots ( const pxr::VtDoubleArray &  knots,
float *&  nu_knots 
)
static

Definition at line 25 of file usd_reader_nurbs.cc.

References float(), and MEM_callocN.

Referenced by blender::io::usd::USDNurbsReader::read_curve_sample().