[xoreos-git] [xoreos/xoreos] 3a6e86: ENGINES: Add data preparation call for contains()

GitHub noreply at github.com
Sat Nov 3 20:37:50 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/xoreos/xoreos
  Commit: 3a6e8634746461feda9b159f278ff3473f1f8495
      https://github.com/xoreos/xoreos/commit/3a6e8634746461feda9b159f278ff3473f1f8495
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp
    M src/engines/aurora/trigger.h

  Log Message:
  -----------
  ENGINES: Add data preparation call for contains()


  Commit: 05cb8b41f686e42963b856bd1910412c99acd02a
      https://github.com/xoreos/xoreos/commit/05cb8b41f686e42963b856bd1910412c99acd02a
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp
    M src/engines/aurora/trigger.h

  Log Message:
  -----------
  ENGINES: Add bounding box check for contains test


  Commit: 5c1025cef49141656e0527ed1696bfca1031ed6c
      https://github.com/xoreos/xoreos/commit/5c1025cef49141656e0527ed1696bfca1031ed6c
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/kotor/trigger.cpp
    M src/engines/kotor2/trigger.cpp

  Log Message:
  -----------
  ENGINES: Add prepare() call to child Trigger classes


  Commit: 6a49c7d5a0f5715b82bbfc5109147738ffad3f77
      https://github.com/xoreos/xoreos/commit/6a49c7d5a0f5715b82bbfc5109147738ffad3f77
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp
    M src/engines/aurora/trigger.h

  Log Message:
  -----------
  ENGINES: Insert loop for ray-casting algorithm


  Commit: 0c8a5cdab5180064bad85a58b0cc2619606b90b0
      https://github.com/xoreos/xoreos/commit/0c8a5cdab5180064bad85a58b0cc2619606b90b0
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp

  Log Message:
  -----------
  ENGINES: Check if ray crosses segment bounding box


  Commit: 1eb8f13238f1d1f2995376f1b35d7aca01b3bd01
      https://github.com/xoreos/xoreos/commit/1eb8f13238f1d1f2995376f1b35d7aca01b3bd01
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp

  Log Message:
  -----------
  ENGINES: Implement ray-crossing test


  Commit: c210147f94640107500af864c05e3692000b29c3
      https://github.com/xoreos/xoreos/commit/c210147f94640107500af864c05e3692000b29c3
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp
    M src/engines/aurora/trigger.h

  Log Message:
  -----------
  ENGINES: Fix when point aligns with a vertex

This is a rare case but is built into the unit test. With this fix
all unit tests pass for trigger.cpp.


  Commit: c0d0183c23ff67066e4154ec8ce653c8ac9e9a64
      https://github.com/xoreos/xoreos/commit/c0d0183c23ff67066e4154ec8ce653c8ac9e9a64
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M src/engines/aurora/trigger.cpp
    M src/engines/aurora/trigger.h

  Log Message:
  -----------
  ENGINES: Precompute the slopes of the trigger sides

This revision (slightly) improves the performance of
the ray-casting algorithm by precomputing the slopes
of the trigger polygon sides.


  Commit: cda3687267ef3f82c083eae0c0036461b6615383
      https://github.com/xoreos/xoreos/commit/cda3687267ef3f82c083eae0c0036461b6615383
  Author: Bob Hall <rjh405 at gmail.com>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    A tests/engines/rules.mk
    A tests/engines/trigger.cpp
    M tests/rules.mk

  Log Message:
  -----------
  TESTS: Add unit test for Engines::Trigger class

This test will pass an array of points to a utility Trigger
class that define a close, non-convex polygon. The class'
'contains(float x, float y)' function is called for a set
of test points. If the function is working properly, it will
return the expected boolean result declared in the test.

See the tests/engines/trigger.cpp comments for illustrations.


  Commit: 4830f8f93aa9dc270356e0f1a8796d0cb891a62e
      https://github.com/xoreos/xoreos/commit/4830f8f93aa9dc270356e0f1a8796d0cb891a62e
  Author: Sven Hesse <drmccoy at drmccoy.de>
  Date:   2018-11-03 (Sat, 03 Nov 2018)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  DOCS: Add Bob Hall to the contributors list


Compare: https://github.com/xoreos/xoreos/compare/29ce6338c85b...4830f8f93aa9
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the xoreos-git mailing list