- 博客(4)
- 收藏
- 关注
原创 springboot项目在yml中配置达梦数据库并指定模式名
这两天找了几十篇文章没找到如何指定达梦数据库的模式名。首先引入达梦数据库和连接池依赖。最后在官方文档中找到了。
2023-11-16 13:43:25
5219
2
原创 Opengl绘制 y**2 = 2px 抛物线利用中点Bresenham算法(比我的上篇博客有改进)
推导过程代码部分#include <GL/glut.h>#include<iostream>#include<Windows.h>#include<math.h>using namespace std;void init() { glClearColor(0.1, 0.5, 0.3, 1.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(-250, 250.0, -250.0, 250.0); gl
2021-09-26 23:06:27
1113
2
原创 Opengl绘制 y**2 = 2px 抛物线利用中点Bresenham算法
#include <GL/glut.h>#include<Windows.h>void init() { glClearColor(0.5, 0.2, 0.5, 1.0); glMatrixMode(GL_PROJECTION);{ int i; glClear(GL_COLOR_BUFFER_BIT); glClearColor(1.0f, 1.0f, 0.5f, 1.0f); glColor3f(0.5f, 0.1f, 1.0f); glBegin(GL_LINE_STRIP); for (i = 0; i < 1000;
2021-09-02 11:55:23
1267
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人