logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

s3d_push_vertices - push many vertices

Author

SimonWunderlich
           Author of s3d

s3d                                                                                         S3D_PUSH_VERTICES(3)

Description

       Push some vertices from an array. that's much better for performing than using s3d_push_vertex() if you
       have a lot of vertices (and that's probably the usual case).

            float vertices[] = { 0.0, 0.0, 0.0,
                                 1.0, 2.0, 3.0,
                                 3.0, 2.0, 1.0};
            s3d_push_vertices(object, vertices, 3); // pushing 3 vertices

Name

       s3d_push_vertices - push many vertices

Synopsis

#include<s3d.h>ints3d_push_vertices(intobject,constfloat*vbuf,uint16_tn);

See Also