03 2017 档案
摘要:1. 给这个测试库取名为dylib,它包含一个函数add。lua中这样使用: local dylib = require "dylib.test" local c = dylib.add(1,2) print(c)上面的dylib.test就是我编译生成的dylib/test.so文件。这个文件该怎
阅读全文
摘要:1. 为了把二维图形的变化统一在一个坐标系里,引入了齐次坐标的概念,即把一个图形用一个三维矩阵表示,其中第三列总是(0,0,1),用来作为坐标系的标准。所以所有的变化都由前两列完成。 以上参数在矩阵中的表示为: |a b 0| |c d 0| |tx ty 1| 运算原理:原坐标设为(X,Y,1);
阅读全文
摘要:1. http://www.cnblogs.com/xuling/p/5602036.html 2. http://blog.csdn.net/qq_26819733/article/details/53224270
阅读全文
摘要:1. IOS OpenGLES2.0 绘制三角形需要以下步骤1.初始化OpenGL相关的CAEAGLLayer和EAGLContext2.创建OpenGL program + Vertex Shader + Fragment Shader3.创建顶点数据, 并且传入OpenGL4.告诉OpenGL如
阅读全文
摘要:1. AVMutableComposition is a mutable subclass of AVComposition you use when you want to create a new composition from existing assets. You can add and
阅读全文

浙公网安备 33010602011771号