Skip to content

Instantly share code, notes, and snippets.

View zwzmzd's full-sized avatar

Wenzhe Zhou zwzmzd

View GitHub Profile
@zwzmzd
zwzmzd / Sphere.cpp
Last active November 21, 2022 09:22
[OpenGL] An example to draw a sphere with vao and vbo
#include "sphere.h"
#include <vector>
#include <iostream>
#include <glm/gtc/matrix_inverse.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/string_cast.hpp>
Sphere::Sphere()
{
@zwzmzd
zwzmzd / baidu_pic.py
Last active April 22, 2016 06:33
百度图片爬虫
# -*-coding:utf-8-*-
import urllib2, urllib
from bs4 import BeautifulSoup
import time
import sys
import requests
import os
def get_image_url_list(key_word, num, interval=1):
result = []