浏览代码

Minor code tweaks

pull/256/head
Ray 8 年前
父节点
当前提交
1f56e8e5d0
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. +1
    -1
      docs/examples/web/core_3d_camera_free.c
  2. +2
    -0
      src/text.c

+ 1
- 1
docs/examples/web/core_3d_camera_free.c 查看文件

@ -41,7 +41,7 @@ int main()
InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera free");
// Define the camera to look into our 3d world
camera.position = (Vector3){ 10.0f, 10.0f, 10.0f }; // Camera position
camera.position = (Vector3){ 10.0f, 10.0f, 10.0f }; // Camera position
camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; // Camera looking at point
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target)
camera.fovy = 45.0f; // Camera field-of-view Y

+ 2
- 0
src/text.c 查看文件

@ -39,6 +39,8 @@
// Default supported features
//-------------------------------------
#define SUPPORT_DEFAULT_FONT
#define SUPPORT_FILEFORMAT_FNT
#define SUPPORT_FILEFORMAT_TTF
//-------------------------------------
#include "raylib.h"

正在加载...
取消
保存