MCPcopy Create free account
hub / github.com/cinder/Cinder / drawPathBetweenVectors

Method drawPathBetweenVectors

samples/slerpBasic/src/slerpBasicApp.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void slerpBasicApp::drawPathBetweenVectors( vec3 a, vec3 b )
62{
63 // draws a path composed of 100 line segments
64 gl::begin( GL_LINE_STRIP );
65 for( float t = 0; t <= 1.0f; t += 0.01f )
66 gl::vertex( slerp( a, b, t ) );
67 gl::end();
68}
69
70void slerpBasicApp::draw()
71{

Callers

nothing calls this directly

Calls 3

beginFunction · 0.50
vertexFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected