- From Collada PhysX plug-in for Maya - ref
Tag | Type | Description |
---|---|---|
Actor0 |
||
Actor1 |
||
ActorFlags |
||
ActorLocalPose |
||
Actors |
||
Angular |
Tag | Type | Description |
---|---|---|
Actor0 |
||
Actor1 |
||
ActorFlags |
||
ActorLocalPose |
||
Actors |
||
Angular |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions | |
// are met: | |
// * Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer. | |
// * Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the | |
// documentation and/or other materials provided with the distribution. | |
// * Neither the name of NVIDIA CORPORATION nor the names of its |
cmake_minimum_required(VERSION 3.1) | |
project(ECSY1) | |
# Add module path in case this is project root | |
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH}) | |
endif() | |
find_package(Magnum REQUIRED |
cmake_minimum_required(VERSION 3.1) | |
project(pong) | |
# Add module path in case this is project root | |
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH}) | |
endif() | |
find_package(Magnum REQUIRED |
cmake_minimum_required(VERSION 3.1) | |
project(nbody) | |
# Add module path in case this is project root | |
if(PROJECT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../../modules/" ${CMAKE_MODULE_PATH}) | |
endif() | |
find_package(Magnum REQUIRED |
cmake_minimum_required(VERSION 3.4) | |
project(MyApplication) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/modules/" ${CMAKE_MODULE_PATH}) | |
set(CMAKE_PREFIX_PATH "${PROJECT_SOURCE_DIR}/SDL2-2.0.10" ${CMAKE_PREFIX_PATH}) | |
# Add Corrade as a subproject | |
add_subdirectory(corrade EXCLUDE_FROM_ALL) | |
# Add Magnum as a subproject, enable Sdl2Application |
cmake_minimum_required(VERSION 3.4) | |
project(MyApplication) | |
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/modules/" ${CMAKE_MODULE_PATH}) | |
set(CMAKE_PREFIX_PATH "${PROJECT_SOURCE_DIR}/SDL2-2.0.10" ${CMAKE_PREFIX_PATH}) | |
set(CMAKE_PREFIX_PATH "${PROJECT_SOURCE_DIR}/imgui" ${CMAKE_PREFIX_PATH}) | |
set(WITH_SDL2APPLICATION ON CACHE BOOL "" FORCE) | |
add_subdirectory(corrade EXCLUDE_FROM_ALL) |
This gist will demonstrate how to build the simplest example of Magnum with Emscripten, and run it in your browser, using With PowerShell for Windows, Linux and MacOS.
Translated to Alanese from Magnum Emscripten on Windows
References