08 2019 档案
摘要:坐标轴 平移 旋转 缩放 重置坐标轴 矩阵操作 示例 1、坐标轴 OpenGL 使用的右手坐标系,从正面看原点,逆时针旋转被认为是正旋转。 x轴:从左到右 y轴:从底部向上 z轴:从屏幕背向朝向前方 2、平移 public abstract void glTranslatef(float x ,fl
阅读全文
摘要:检测设备支持版本,判断是否支持opengl 2.0版本 初始化设置OpenGLES2.0 实现接口GLSurfaceView.Renderer 渲染 绘制图形 1、检测设备支持版本,判断是否支持opengl 2.0版本 2、强制应用支持 3、初始化设置OpenGLES2.0 4、GLSurfaceV
阅读全文
摘要:内容: Button Image、Icon Switch、Checkbox TextField Form 1、Button RaisedButton 漂浮按钮 FlatButton 扁平按钮 OutlineButton 边框按钮 IconButton 图标按钮 FlatButton( color:
阅读全文
摘要:包管理 依赖本地包 dependencies: pkg1: path: ../../code/pkg1 依赖git包 dependencies: pkg1: git: url: git://github.com/xxx/pkg1.git 资源管理 指定Assets flutter: assets:
阅读全文