LoginSignup
1
0

More than 3 years have passed since last update.

3x3のCIVectorを作る

Last updated at Posted at 2019-07-27

CIFilterのkernelに渡すときとか作る必要がある。

let points: [CGFloat] = [
 1,0,0,
 0,1,0,
 0,0,1,
]
let vector = CIVector(values: points, count: points.count)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0