From 8c09fa3be2ab7ddd70f904923e3ad91e0636528b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sun, 12 Feb 2017 19:23:08 +0100 Subject: OpenGL immediate mode: added gpuRotate3f to GPU_matrix --- source/blender/gpu/GPU_matrix.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_matrix.h') diff --git a/source/blender/gpu/GPU_matrix.h b/source/blender/gpu/GPU_matrix.h index 43a03f8e4b6..2bf52c954a0 100644 --- a/source/blender/gpu/GPU_matrix.h +++ b/source/blender/gpu/GPU_matrix.h @@ -84,6 +84,7 @@ void gpuTranslate3f(float x, float y, float z); void gpuTranslate3fv(const float vec[3]); void gpuScale3f(float x, float y, float z); void gpuScale3fv(const float vec[3]); +void gpuRotate3f(float deg, float x, float y, float z); /* axis of rotation should be a unit vector */ void gpuRotate3fv(float deg, const float axis[3]); /* axis of rotation should be a unit vector */ void gpuRotateAxis(float deg, char axis); /* TODO: enum for axis? */ -- cgit v1.2.3