cemyuksel / cyCodeBase

An open source programming resource intended for graphics programmers.
MIT License
271 stars 60 forks source link

Adding a method of `size` for cy::Point? #6

Closed xarthurx closed 5 years ago

xarthurx commented 5 years ago

First, thank you for the great library.

I'm trying to use the Possion Sample header file for higher dimensions. It seems there's no size function to get the dimension of the general cy::Point I defined.

Not really a big deal, but it might be good to add sth like that to get the dim of a cy::Point?

xarthurx commented 5 years ago

sorry for the spam. Just realize the .data is an array.