> On 26 Jan 2019, at 13:52, Daniel Llorens <daniel.llor...@bluewin.ch> wrote:
> 
> 
> 
>> On 26 Jan 2019, at 02:33, Luis Souto Graña <luissoutob...@gmail.com> wrote:
> 
> 
>>>> 
>>>> ,apropos set-gl-vertex-array
>>> (gl): set-gl-vertex-array    #<procedure set-gl-vertex-array (type
>>> bv-or-pointer #:optional size #:key stride offset)>
>>> 
>>> 
>>>> (set-gl-vertex-array (bytevector->pointer points) 3)
>>> 
> 
> 
> You should call set-gl-vertex-array like this:
> 
> (set-gl-vertex-array (bytevector->pointer points) #:stride 3)

Actually this #:stride should probably be 12 = 3*4, I think.





Reply via email to